Skip to content

Commit 8fac713

Browse files
feat(cloudfunctions): update the api
#### cloudfunctions:v1 The following keys were deleted: - schemas.LocationMetadata (Total Keys: 4) - schemas.Stage (Total Keys: 9) The following keys were added: - schemas.GoogleCloudFunctionsV2LocationMetadata (Total Keys: 4) - schemas.GoogleCloudFunctionsV2alphaStage (Total Keys: 9) The following keys were changed: - schemas.GoogleCloudFunctionsV2alphaOperationMetadata.properties.stages.items.$ref (Total Keys: 1) #### cloudfunctions:v2 The following keys were deleted: - schemas.LocationMetadata (Total Keys: 4) - schemas.Stage (Total Keys: 9) The following keys were added: - schemas.GoogleCloudFunctionsV2LocationMetadata (Total Keys: 4) - schemas.GoogleCloudFunctionsV2alphaStage (Total Keys: 9) The following keys were changed: - schemas.GoogleCloudFunctionsV2alphaOperationMetadata.properties.stages.items.$ref (Total Keys: 1) #### cloudfunctions:v2alpha The following keys were deleted: - schemas.LocationMetadata (Total Keys: 4) - schemas.Stage (Total Keys: 9) The following keys were added: - schemas.GoogleCloudFunctionsV2LocationMetadata (Total Keys: 4) - schemas.GoogleCloudFunctionsV2alphaStage (Total Keys: 9) The following keys were changed: - schemas.GoogleCloudFunctionsV2alphaOperationMetadata.properties.stages.items.$ref (Total Keys: 1) #### cloudfunctions:v2beta The following keys were deleted: - schemas.LocationMetadata (Total Keys: 4) - schemas.Stage (Total Keys: 9) The following keys were added: - schemas.GoogleCloudFunctionsV2LocationMetadata (Total Keys: 4) - schemas.GoogleCloudFunctionsV2alphaStage (Total Keys: 9) The following keys were changed: - schemas.GoogleCloudFunctionsV2alphaOperationMetadata.properties.stages.items.$ref (Total Keys: 1)
1 parent baa0bd6 commit 8fac713

9 files changed

+373
-373
lines changed

docs/dyn/cloudfunctions_v1.projects.locations.functions.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ <h3>Method Details</h3>
210210
&quot;versions&quot;: [ # List of secret versions to mount for this secret. If empty, the `latest` version of the secret will be made available in a file named after the secret under the mount point.
211211
{ # Configuration for a single version.
212212
&quot;path&quot;: &quot;A String&quot;, # Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as &#x27;/etc/secrets&#x27; and path as `/secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`.
213-
&quot;version&quot;: &quot;A String&quot;, # Version of the secret (version number or the string &#x27;latest&#x27;). It is preferrable to use `latest` version with secret volumes as secret value changes are reflected immediately.
213+
&quot;version&quot;: &quot;A String&quot;, # Version of the secret (version number or the string &#x27;latest&#x27;). It is preferable to use `latest` version with secret volumes as secret value changes are reflected immediately.
214214
},
215215
],
216216
},
@@ -415,7 +415,7 @@ <h3>Method Details</h3>
415415
&quot;versions&quot;: [ # List of secret versions to mount for this secret. If empty, the `latest` version of the secret will be made available in a file named after the secret under the mount point.
416416
{ # Configuration for a single version.
417417
&quot;path&quot;: &quot;A String&quot;, # Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as &#x27;/etc/secrets&#x27; and path as `/secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`.
418-
&quot;version&quot;: &quot;A String&quot;, # Version of the secret (version number or the string &#x27;latest&#x27;). It is preferrable to use `latest` version with secret volumes as secret value changes are reflected immediately.
418+
&quot;version&quot;: &quot;A String&quot;, # Version of the secret (version number or the string &#x27;latest&#x27;). It is preferable to use `latest` version with secret volumes as secret value changes are reflected immediately.
419419
},
420420
],
421421
},
@@ -557,7 +557,7 @@ <h3>Method Details</h3>
557557
&quot;versions&quot;: [ # List of secret versions to mount for this secret. If empty, the `latest` version of the secret will be made available in a file named after the secret under the mount point.
558558
{ # Configuration for a single version.
559559
&quot;path&quot;: &quot;A String&quot;, # Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as &#x27;/etc/secrets&#x27; and path as `/secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`.
560-
&quot;version&quot;: &quot;A String&quot;, # Version of the secret (version number or the string &#x27;latest&#x27;). It is preferrable to use `latest` version with secret volumes as secret value changes are reflected immediately.
560+
&quot;version&quot;: &quot;A String&quot;, # Version of the secret (version number or the string &#x27;latest&#x27;). It is preferable to use `latest` version with secret volumes as secret value changes are reflected immediately.
561561
},
562562
],
563563
},
@@ -662,7 +662,7 @@ <h3>Method Details</h3>
662662
&quot;versions&quot;: [ # List of secret versions to mount for this secret. If empty, the `latest` version of the secret will be made available in a file named after the secret under the mount point.
663663
{ # Configuration for a single version.
664664
&quot;path&quot;: &quot;A String&quot;, # Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as &#x27;/etc/secrets&#x27; and path as `/secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`.
665-
&quot;version&quot;: &quot;A String&quot;, # Version of the secret (version number or the string &#x27;latest&#x27;). It is preferrable to use `latest` version with secret volumes as secret value changes are reflected immediately.
665+
&quot;version&quot;: &quot;A String&quot;, # Version of the secret (version number or the string &#x27;latest&#x27;). It is preferable to use `latest` version with secret volumes as secret value changes are reflected immediately.
666666
},
667667
],
668668
},

docs/dyn/cloudfunctions_v1.projects.locations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ <h3>Method Details</h3>
113113

114114
{ # The response message for Locations.ListLocations.
115115
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
116-
{ # A resource that represents Google Cloud Platform location.
116+
{ # A resource that represents a Google Cloud location.
117117
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
118118
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
119119
&quot;a_key&quot;: &quot;A String&quot;,

docs/dyn/cloudfunctions_v2.projects.locations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ <h3>Method Details</h3>
123123

124124
{ # The response message for Locations.ListLocations.
125125
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
126-
{ # A resource that represents Google Cloud Platform location.
126+
{ # A resource that represents a Google Cloud location.
127127
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
128128
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
129129
&quot;a_key&quot;: &quot;A String&quot;,

docs/dyn/cloudfunctions_v2alpha.projects.locations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ <h3>Method Details</h3>
123123

124124
{ # The response message for Locations.ListLocations.
125125
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
126-
{ # A resource that represents Google Cloud Platform location.
126+
{ # A resource that represents a Google Cloud location.
127127
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
128128
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
129129
&quot;a_key&quot;: &quot;A String&quot;,

docs/dyn/cloudfunctions_v2beta.projects.locations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ <h3>Method Details</h3>
123123

124124
{ # The response message for Locations.ListLocations.
125125
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
126-
{ # A resource that represents Google Cloud Platform location.
126+
{ # A resource that represents a Google Cloud location.
127127
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
128128
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
129129
&quot;a_key&quot;: &quot;A String&quot;,

googleapiclient/discovery_cache/documents/cloudfunctions.v1.json

Lines changed: 92 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@
546546
}
547547
}
548548
},
549-
"revision": "20230406",
549+
"revision": "20230518",
550550
"rootUrl": "https://cloudfunctions.googleapis.com/",
551551
"schemas": {
552552
"AuditConfig": {
@@ -964,6 +964,30 @@
964964
},
965965
"type": "object"
966966
},
967+
"GoogleCloudFunctionsV2LocationMetadata": {
968+
"description": "Extra GCF specific location information.",
969+
"id": "GoogleCloudFunctionsV2LocationMetadata",
970+
"properties": {
971+
"environments": {
972+
"description": "The Cloud Function environments this location supports.",
973+
"items": {
974+
"enum": [
975+
"ENVIRONMENT_UNSPECIFIED",
976+
"GEN_1",
977+
"GEN_2"
978+
],
979+
"enumDescriptions": [
980+
"Unspecified",
981+
"Gen 1",
982+
"Gen 2"
983+
],
984+
"type": "string"
985+
},
986+
"type": "array"
987+
}
988+
},
989+
"type": "object"
990+
},
967991
"GoogleCloudFunctionsV2OperationMetadata": {
968992
"description": "Represents the metadata of the long-running operation.",
969993
"id": "GoogleCloudFunctionsV2OperationMetadata",
@@ -1168,7 +1192,7 @@
11681192
"stages": {
11691193
"description": "Mechanism for reporting in-progress stages",
11701194
"items": {
1171-
"$ref": "Stage"
1195+
"$ref": "GoogleCloudFunctionsV2alphaStage"
11721196
},
11731197
"type": "array"
11741198
},
@@ -1187,6 +1211,70 @@
11871211
},
11881212
"type": "object"
11891213
},
1214+
"GoogleCloudFunctionsV2alphaStage": {
1215+
"description": "Each Stage of the deployment process",
1216+
"id": "GoogleCloudFunctionsV2alphaStage",
1217+
"properties": {
1218+
"message": {
1219+
"description": "Message describing the Stage",
1220+
"type": "string"
1221+
},
1222+
"name": {
1223+
"description": "Name of the Stage. This will be unique for each Stage.",
1224+
"enum": [
1225+
"NAME_UNSPECIFIED",
1226+
"ARTIFACT_REGISTRY",
1227+
"BUILD",
1228+
"SERVICE",
1229+
"TRIGGER",
1230+
"SERVICE_ROLLBACK",
1231+
"TRIGGER_ROLLBACK"
1232+
],
1233+
"enumDescriptions": [
1234+
"Not specified. Invalid name.",
1235+
"Artifact Regsitry Stage",
1236+
"Build Stage",
1237+
"Service Stage",
1238+
"Trigger Stage",
1239+
"Service Rollback Stage",
1240+
"Trigger Rollback Stage"
1241+
],
1242+
"type": "string"
1243+
},
1244+
"resource": {
1245+
"description": "Resource of the Stage",
1246+
"type": "string"
1247+
},
1248+
"resourceUri": {
1249+
"description": "Link to the current Stage resource",
1250+
"type": "string"
1251+
},
1252+
"state": {
1253+
"description": "Current state of the Stage",
1254+
"enum": [
1255+
"STATE_UNSPECIFIED",
1256+
"NOT_STARTED",
1257+
"IN_PROGRESS",
1258+
"COMPLETE"
1259+
],
1260+
"enumDescriptions": [
1261+
"Not specified. Invalid state.",
1262+
"Stage has not started.",
1263+
"Stage is in progress.",
1264+
"Stage has completed."
1265+
],
1266+
"type": "string"
1267+
},
1268+
"stateMessages": {
1269+
"description": "State messages from the current Stage.",
1270+
"items": {
1271+
"$ref": "GoogleCloudFunctionsV2alphaStateMessage"
1272+
},
1273+
"type": "array"
1274+
}
1275+
},
1276+
"type": "object"
1277+
},
11901278
"GoogleCloudFunctionsV2alphaStateMessage": {
11911279
"description": "Informational messages about the state of the Cloud Function or Operation.",
11921280
"id": "GoogleCloudFunctionsV2alphaStateMessage",
@@ -1477,7 +1565,7 @@
14771565
"type": "object"
14781566
},
14791567
"Location": {
1480-
"description": "A resource that represents Google Cloud Platform location.",
1568+
"description": "A resource that represents a Google Cloud location.",
14811569
"id": "Location",
14821570
"properties": {
14831571
"displayName": {
@@ -1510,30 +1598,6 @@
15101598
},
15111599
"type": "object"
15121600
},
1513-
"LocationMetadata": {
1514-
"description": "Extra GCF specific location information.",
1515-
"id": "LocationMetadata",
1516-
"properties": {
1517-
"environments": {
1518-
"description": "The Cloud Function environments this location supports.",
1519-
"items": {
1520-
"enum": [
1521-
"ENVIRONMENT_UNSPECIFIED",
1522-
"GEN_1",
1523-
"GEN_2"
1524-
],
1525-
"enumDescriptions": [
1526-
"Unspecified",
1527-
"Gen 1",
1528-
"Gen 2"
1529-
],
1530-
"type": "string"
1531-
},
1532-
"type": "array"
1533-
}
1534-
},
1535-
"type": "object"
1536-
},
15371601
"Operation": {
15381602
"description": "This resource represents a long-running operation that is the result of a network API call.",
15391603
"id": "Operation",
@@ -1695,7 +1759,7 @@
16951759
"type": "string"
16961760
},
16971761
"version": {
1698-
"description": "Version of the secret (version number or the string 'latest'). It is preferrable to use `latest` version with secret volumes as secret value changes are reflected immediately.",
1762+
"description": "Version of the secret (version number or the string 'latest'). It is preferable to use `latest` version with secret volumes as secret value changes are reflected immediately.",
16991763
"type": "string"
17001764
}
17011765
},
@@ -1759,70 +1823,6 @@
17591823
},
17601824
"type": "object"
17611825
},
1762-
"Stage": {
1763-
"description": "Each Stage of the deployment process",
1764-
"id": "Stage",
1765-
"properties": {
1766-
"message": {
1767-
"description": "Message describing the Stage",
1768-
"type": "string"
1769-
},
1770-
"name": {
1771-
"description": "Name of the Stage. This will be unique for each Stage.",
1772-
"enum": [
1773-
"NAME_UNSPECIFIED",
1774-
"ARTIFACT_REGISTRY",
1775-
"BUILD",
1776-
"SERVICE",
1777-
"TRIGGER",
1778-
"SERVICE_ROLLBACK",
1779-
"TRIGGER_ROLLBACK"
1780-
],
1781-
"enumDescriptions": [
1782-
"Not specified. Invalid name.",
1783-
"Artifact Regsitry Stage",
1784-
"Build Stage",
1785-
"Service Stage",
1786-
"Trigger Stage",
1787-
"Service Rollback Stage",
1788-
"Trigger Rollback Stage"
1789-
],
1790-
"type": "string"
1791-
},
1792-
"resource": {
1793-
"description": "Resource of the Stage",
1794-
"type": "string"
1795-
},
1796-
"resourceUri": {
1797-
"description": "Link to the current Stage resource",
1798-
"type": "string"
1799-
},
1800-
"state": {
1801-
"description": "Current state of the Stage",
1802-
"enum": [
1803-
"STATE_UNSPECIFIED",
1804-
"NOT_STARTED",
1805-
"IN_PROGRESS",
1806-
"COMPLETE"
1807-
],
1808-
"enumDescriptions": [
1809-
"Not specified. Invalid state.",
1810-
"Stage has not started.",
1811-
"Stage is in progress.",
1812-
"Stage has completed."
1813-
],
1814-
"type": "string"
1815-
},
1816-
"stateMessages": {
1817-
"description": "State messages from the current Stage.",
1818-
"items": {
1819-
"$ref": "GoogleCloudFunctionsV2alphaStateMessage"
1820-
},
1821-
"type": "array"
1822-
}
1823-
},
1824-
"type": "object"
1825-
},
18261826
"Status": {
18271827
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
18281828
"id": "Status",

0 commit comments

Comments
 (0)