Skip to content

Commit

Permalink
feat(cloudfunctions): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed May 24, 2023
1 parent baa0bd6 commit 8fac713
Show file tree
Hide file tree
Showing 9 changed files with 373 additions and 373 deletions.
8 changes: 4 additions & 4 deletions docs/dyn/cloudfunctions_v1.projects.locations.functions.html
Expand Up @@ -210,7 +210,7 @@ <h3>Method Details</h3>
&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.
{ # Configuration for a single version.
&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`.
&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.
&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.
},
],
},
Expand Down Expand Up @@ -415,7 +415,7 @@ <h3>Method Details</h3>
&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.
{ # Configuration for a single version.
&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`.
&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.
&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.
},
],
},
Expand Down Expand Up @@ -557,7 +557,7 @@ <h3>Method Details</h3>
&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.
{ # Configuration for a single version.
&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`.
&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.
&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.
},
],
},
Expand Down Expand Up @@ -662,7 +662,7 @@ <h3>Method Details</h3>
&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.
{ # Configuration for a single version.
&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`.
&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.
&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.
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion docs/dyn/cloudfunctions_v1.projects.locations.html
Expand Up @@ -113,7 +113,7 @@ <h3>Method Details</h3>

{ # The response message for Locations.ListLocations.
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
{ # A resource that represents Google Cloud Platform location.
{ # A resource that represents a Google Cloud location.
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down
2 changes: 1 addition & 1 deletion docs/dyn/cloudfunctions_v2.projects.locations.html
Expand Up @@ -123,7 +123,7 @@ <h3>Method Details</h3>

{ # The response message for Locations.ListLocations.
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
{ # A resource that represents Google Cloud Platform location.
{ # A resource that represents a Google Cloud location.
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down
2 changes: 1 addition & 1 deletion docs/dyn/cloudfunctions_v2alpha.projects.locations.html
Expand Up @@ -123,7 +123,7 @@ <h3>Method Details</h3>

{ # The response message for Locations.ListLocations.
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
{ # A resource that represents Google Cloud Platform location.
{ # A resource that represents a Google Cloud location.
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down
2 changes: 1 addition & 1 deletion docs/dyn/cloudfunctions_v2beta.projects.locations.html
Expand Up @@ -123,7 +123,7 @@ <h3>Method Details</h3>

{ # The response message for Locations.ListLocations.
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
{ # A resource that represents Google Cloud Platform location.
{ # A resource that represents a Google Cloud location.
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down
184 changes: 92 additions & 92 deletions googleapiclient/discovery_cache/documents/cloudfunctions.v1.json
Expand Up @@ -546,7 +546,7 @@
}
}
},
"revision": "20230406",
"revision": "20230518",
"rootUrl": "https://cloudfunctions.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -964,6 +964,30 @@
},
"type": "object"
},
"GoogleCloudFunctionsV2LocationMetadata": {
"description": "Extra GCF specific location information.",
"id": "GoogleCloudFunctionsV2LocationMetadata",
"properties": {
"environments": {
"description": "The Cloud Function environments this location supports.",
"items": {
"enum": [
"ENVIRONMENT_UNSPECIFIED",
"GEN_1",
"GEN_2"
],
"enumDescriptions": [
"Unspecified",
"Gen 1",
"Gen 2"
],
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudFunctionsV2OperationMetadata": {
"description": "Represents the metadata of the long-running operation.",
"id": "GoogleCloudFunctionsV2OperationMetadata",
Expand Down Expand Up @@ -1168,7 +1192,7 @@
"stages": {
"description": "Mechanism for reporting in-progress stages",
"items": {
"$ref": "Stage"
"$ref": "GoogleCloudFunctionsV2alphaStage"
},
"type": "array"
},
Expand All @@ -1187,6 +1211,70 @@
},
"type": "object"
},
"GoogleCloudFunctionsV2alphaStage": {
"description": "Each Stage of the deployment process",
"id": "GoogleCloudFunctionsV2alphaStage",
"properties": {
"message": {
"description": "Message describing the Stage",
"type": "string"
},
"name": {
"description": "Name of the Stage. This will be unique for each Stage.",
"enum": [
"NAME_UNSPECIFIED",
"ARTIFACT_REGISTRY",
"BUILD",
"SERVICE",
"TRIGGER",
"SERVICE_ROLLBACK",
"TRIGGER_ROLLBACK"
],
"enumDescriptions": [
"Not specified. Invalid name.",
"Artifact Regsitry Stage",
"Build Stage",
"Service Stage",
"Trigger Stage",
"Service Rollback Stage",
"Trigger Rollback Stage"
],
"type": "string"
},
"resource": {
"description": "Resource of the Stage",
"type": "string"
},
"resourceUri": {
"description": "Link to the current Stage resource",
"type": "string"
},
"state": {
"description": "Current state of the Stage",
"enum": [
"STATE_UNSPECIFIED",
"NOT_STARTED",
"IN_PROGRESS",
"COMPLETE"
],
"enumDescriptions": [
"Not specified. Invalid state.",
"Stage has not started.",
"Stage is in progress.",
"Stage has completed."
],
"type": "string"
},
"stateMessages": {
"description": "State messages from the current Stage.",
"items": {
"$ref": "GoogleCloudFunctionsV2alphaStateMessage"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudFunctionsV2alphaStateMessage": {
"description": "Informational messages about the state of the Cloud Function or Operation.",
"id": "GoogleCloudFunctionsV2alphaStateMessage",
Expand Down Expand Up @@ -1477,7 +1565,7 @@
"type": "object"
},
"Location": {
"description": "A resource that represents Google Cloud Platform location.",
"description": "A resource that represents a Google Cloud location.",
"id": "Location",
"properties": {
"displayName": {
Expand Down Expand Up @@ -1510,30 +1598,6 @@
},
"type": "object"
},
"LocationMetadata": {
"description": "Extra GCF specific location information.",
"id": "LocationMetadata",
"properties": {
"environments": {
"description": "The Cloud Function environments this location supports.",
"items": {
"enum": [
"ENVIRONMENT_UNSPECIFIED",
"GEN_1",
"GEN_2"
],
"enumDescriptions": [
"Unspecified",
"Gen 1",
"Gen 2"
],
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Operation": {
"description": "This resource represents a long-running operation that is the result of a network API call.",
"id": "Operation",
Expand Down Expand Up @@ -1695,7 +1759,7 @@
"type": "string"
},
"version": {
"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.",
"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.",
"type": "string"
}
},
Expand Down Expand Up @@ -1759,70 +1823,6 @@
},
"type": "object"
},
"Stage": {
"description": "Each Stage of the deployment process",
"id": "Stage",
"properties": {
"message": {
"description": "Message describing the Stage",
"type": "string"
},
"name": {
"description": "Name of the Stage. This will be unique for each Stage.",
"enum": [
"NAME_UNSPECIFIED",
"ARTIFACT_REGISTRY",
"BUILD",
"SERVICE",
"TRIGGER",
"SERVICE_ROLLBACK",
"TRIGGER_ROLLBACK"
],
"enumDescriptions": [
"Not specified. Invalid name.",
"Artifact Regsitry Stage",
"Build Stage",
"Service Stage",
"Trigger Stage",
"Service Rollback Stage",
"Trigger Rollback Stage"
],
"type": "string"
},
"resource": {
"description": "Resource of the Stage",
"type": "string"
},
"resourceUri": {
"description": "Link to the current Stage resource",
"type": "string"
},
"state": {
"description": "Current state of the Stage",
"enum": [
"STATE_UNSPECIFIED",
"NOT_STARTED",
"IN_PROGRESS",
"COMPLETE"
],
"enumDescriptions": [
"Not specified. Invalid state.",
"Stage has not started.",
"Stage is in progress.",
"Stage has completed."
],
"type": "string"
},
"stateMessages": {
"description": "State messages from the current Stage.",
"items": {
"$ref": "GoogleCloudFunctionsV2alphaStateMessage"
},
"type": "array"
}
},
"type": "object"
},
"Status": {
"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).",
"id": "Status",
Expand Down

0 comments on commit 8fac713

Please sign in to comment.