Skip to content

Commit 86d065d

Browse files
yoshi-automationsofisl
authored andcommittedSep 22, 2023
feat(cloudfunctions): update the API
#### cloudfunctions:v2alpha The following keys were added: - schemas.Date.description - schemas.Date.id - schemas.Date.properties.day.description - schemas.Date.properties.day.format - schemas.Date.properties.day.type - schemas.Date.properties.month.description - schemas.Date.properties.month.format - schemas.Date.properties.month.type - schemas.Date.properties.year.description - schemas.Date.properties.year.format - schemas.Date.properties.year.type - schemas.Date.type - schemas.Runtime.properties.decommissionDate.$ref - schemas.Runtime.properties.decommissionDate.description - schemas.Runtime.properties.deprecationDate.$ref - schemas.Runtime.properties.deprecationDate.description #### cloudfunctions:v2beta The following keys were added: - schemas.Date.description - schemas.Date.id - schemas.Date.properties.day.description - schemas.Date.properties.day.format - schemas.Date.properties.day.type - schemas.Date.properties.month.description - schemas.Date.properties.month.format - schemas.Date.properties.month.type - schemas.Date.properties.year.description - schemas.Date.properties.year.format - schemas.Date.properties.year.type - schemas.Date.type - schemas.Runtime.properties.decommissionDate.$ref - schemas.Runtime.properties.decommissionDate.description - schemas.Runtime.properties.deprecationDate.$ref - schemas.Runtime.properties.deprecationDate.description #### cloudfunctions:v2 The following keys were added: - schemas.Date.description - schemas.Date.id - schemas.Date.properties.day.description - schemas.Date.properties.day.format - schemas.Date.properties.day.type - schemas.Date.properties.month.description - schemas.Date.properties.month.format - schemas.Date.properties.month.type - schemas.Date.properties.year.description - schemas.Date.properties.year.format - schemas.Date.properties.year.type - schemas.Date.type - schemas.Runtime.properties.decommissionDate.$ref - schemas.Runtime.properties.decommissionDate.description - schemas.Runtime.properties.deprecationDate.$ref - schemas.Runtime.properties.deprecationDate.description
1 parent 1ec2280 commit 86d065d

File tree

6 files changed

+168
-3
lines changed

6 files changed

+168
-3
lines changed
 

‎discovery/cloudfunctions-v2.json

+31-1
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@
571571
}
572572
}
573573
},
574-
"revision": "20230803",
574+
"revision": "20230914",
575575
"rootUrl": "https://cloudfunctions.googleapis.com/",
576576
"schemas": {
577577
"AuditConfig": {
@@ -706,6 +706,28 @@
706706
},
707707
"type": "object"
708708
},
709+
"Date": {
710+
"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
711+
"id": "Date",
712+
"properties": {
713+
"day": {
714+
"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
715+
"format": "int32",
716+
"type": "integer"
717+
},
718+
"month": {
719+
"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
720+
"format": "int32",
721+
"type": "integer"
722+
},
723+
"year": {
724+
"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
725+
"format": "int32",
726+
"type": "integer"
727+
}
728+
},
729+
"type": "object"
730+
},
709731
"EventFilter": {
710732
"description": "Filters events based on exact matches on the CloudEvents attributes.",
711733
"id": "EventFilter",
@@ -1733,6 +1755,14 @@
17331755
"description": "Describes a runtime and any special information (e.g., deprecation status) related to it.",
17341756
"id": "Runtime",
17351757
"properties": {
1758+
"decommissionDate": {
1759+
"$ref": "Date",
1760+
"description": "Decommission date for the runtime."
1761+
},
1762+
"deprecationDate": {
1763+
"$ref": "Date",
1764+
"description": "Deprecation date for the runtime."
1765+
},
17361766
"displayName": {
17371767
"description": "The user facing name, eg 'Go 1.13', 'Node.js 12', etc.",
17381768
"type": "string"

‎discovery/cloudfunctions-v2alpha.json

+31-1
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@
571571
}
572572
}
573573
},
574-
"revision": "20230803",
574+
"revision": "20230914",
575575
"rootUrl": "https://cloudfunctions.googleapis.com/",
576576
"schemas": {
577577
"AuditConfig": {
@@ -706,6 +706,28 @@
706706
},
707707
"type": "object"
708708
},
709+
"Date": {
710+
"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
711+
"id": "Date",
712+
"properties": {
713+
"day": {
714+
"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
715+
"format": "int32",
716+
"type": "integer"
717+
},
718+
"month": {
719+
"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
720+
"format": "int32",
721+
"type": "integer"
722+
},
723+
"year": {
724+
"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
725+
"format": "int32",
726+
"type": "integer"
727+
}
728+
},
729+
"type": "object"
730+
},
709731
"EventFilter": {
710732
"description": "Filters events based on exact matches on the CloudEvents attributes.",
711733
"id": "EventFilter",
@@ -1733,6 +1755,14 @@
17331755
"description": "Describes a runtime and any special information (e.g., deprecation status) related to it.",
17341756
"id": "Runtime",
17351757
"properties": {
1758+
"decommissionDate": {
1759+
"$ref": "Date",
1760+
"description": "Decommission date for the runtime."
1761+
},
1762+
"deprecationDate": {
1763+
"$ref": "Date",
1764+
"description": "Deprecation date for the runtime."
1765+
},
17361766
"displayName": {
17371767
"description": "The user facing name, eg 'Go 1.13', 'Node.js 12', etc.",
17381768
"type": "string"

‎discovery/cloudfunctions-v2beta.json

+31-1
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@
571571
}
572572
}
573573
},
574-
"revision": "20230803",
574+
"revision": "20230914",
575575
"rootUrl": "https://cloudfunctions.googleapis.com/",
576576
"schemas": {
577577
"AuditConfig": {
@@ -706,6 +706,28 @@
706706
},
707707
"type": "object"
708708
},
709+
"Date": {
710+
"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
711+
"id": "Date",
712+
"properties": {
713+
"day": {
714+
"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
715+
"format": "int32",
716+
"type": "integer"
717+
},
718+
"month": {
719+
"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
720+
"format": "int32",
721+
"type": "integer"
722+
},
723+
"year": {
724+
"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
725+
"format": "int32",
726+
"type": "integer"
727+
}
728+
},
729+
"type": "object"
730+
},
709731
"EventFilter": {
710732
"description": "Filters events based on exact matches on the CloudEvents attributes.",
711733
"id": "EventFilter",
@@ -1733,6 +1755,14 @@
17331755
"description": "Describes a runtime and any special information (e.g., deprecation status) related to it.",
17341756
"id": "Runtime",
17351757
"properties": {
1758+
"decommissionDate": {
1759+
"$ref": "Date",
1760+
"description": "Decommission date for the runtime."
1761+
},
1762+
"deprecationDate": {
1763+
"$ref": "Date",
1764+
"description": "Deprecation date for the runtime."
1765+
},
17361766
"displayName": {
17371767
"description": "The user facing name, eg 'Go 1.13', 'Node.js 12', etc.",
17381768
"type": "string"

‎src/apis/cloudfunctions/v2.ts

+25
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,23 @@ export namespace cloudfunctions_v2 {
212212
*/
213213
workerPool?: string | null;
214214
}
215+
/**
216+
* Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
217+
*/
218+
export interface Schema$Date {
219+
/**
220+
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
221+
*/
222+
day?: number | null;
223+
/**
224+
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
225+
*/
226+
month?: number | null;
227+
/**
228+
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
229+
*/
230+
year?: number | null;
231+
}
215232
/**
216233
* Filters events based on exact matches on the CloudEvents attributes.
217234
*/
@@ -872,6 +889,14 @@ export namespace cloudfunctions_v2 {
872889
* Describes a runtime and any special information (e.g., deprecation status) related to it.
873890
*/
874891
export interface Schema$Runtime {
892+
/**
893+
* Decommission date for the runtime.
894+
*/
895+
decommissionDate?: Schema$Date;
896+
/**
897+
* Deprecation date for the runtime.
898+
*/
899+
deprecationDate?: Schema$Date;
875900
/**
876901
* The user facing name, eg 'Go 1.13', 'Node.js 12', etc.
877902
*/

‎src/apis/cloudfunctions/v2alpha.ts

+25
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,23 @@ export namespace cloudfunctions_v2alpha {
212212
*/
213213
workerPool?: string | null;
214214
}
215+
/**
216+
* Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
217+
*/
218+
export interface Schema$Date {
219+
/**
220+
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
221+
*/
222+
day?: number | null;
223+
/**
224+
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
225+
*/
226+
month?: number | null;
227+
/**
228+
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
229+
*/
230+
year?: number | null;
231+
}
215232
/**
216233
* Filters events based on exact matches on the CloudEvents attributes.
217234
*/
@@ -872,6 +889,14 @@ export namespace cloudfunctions_v2alpha {
872889
* Describes a runtime and any special information (e.g., deprecation status) related to it.
873890
*/
874891
export interface Schema$Runtime {
892+
/**
893+
* Decommission date for the runtime.
894+
*/
895+
decommissionDate?: Schema$Date;
896+
/**
897+
* Deprecation date for the runtime.
898+
*/
899+
deprecationDate?: Schema$Date;
875900
/**
876901
* The user facing name, eg 'Go 1.13', 'Node.js 12', etc.
877902
*/

‎src/apis/cloudfunctions/v2beta.ts

+25
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,23 @@ export namespace cloudfunctions_v2beta {
212212
*/
213213
workerPool?: string | null;
214214
}
215+
/**
216+
* Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
217+
*/
218+
export interface Schema$Date {
219+
/**
220+
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
221+
*/
222+
day?: number | null;
223+
/**
224+
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
225+
*/
226+
month?: number | null;
227+
/**
228+
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
229+
*/
230+
year?: number | null;
231+
}
215232
/**
216233
* Filters events based on exact matches on the CloudEvents attributes.
217234
*/
@@ -872,6 +889,14 @@ export namespace cloudfunctions_v2beta {
872889
* Describes a runtime and any special information (e.g., deprecation status) related to it.
873890
*/
874891
export interface Schema$Runtime {
892+
/**
893+
* Decommission date for the runtime.
894+
*/
895+
decommissionDate?: Schema$Date;
896+
/**
897+
* Deprecation date for the runtime.
898+
*/
899+
deprecationDate?: Schema$Date;
875900
/**
876901
* The user facing name, eg 'Go 1.13', 'Node.js 12', etc.
877902
*/

0 commit comments

Comments
 (0)
Please sign in to comment.