Skip to content

Commit

Permalink
feat(apigee): update the api
Browse files Browse the repository at this point in the history
#### apigee:v1

The following keys were deleted:
- schemas.GoogleCloudApigeeV1AddonsConfig.properties.integrationConfig.$ref (Total Keys: 1)
- schemas.GoogleCloudApigeeV1IntegrationConfig (Total Keys: 3)

The following keys were added:
- resources.organizations.resources.instances.methods.patch (Total Keys: 15)
  • Loading branch information
yoshi-automation committed Aug 10, 2021
1 parent 26d18c6 commit 4485c5f
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 31 deletions.
15 changes: 0 additions & 15 deletions docs/dyn/apigee_v1.organizations.html
Expand Up @@ -216,9 +216,6 @@ <h3>Method Details</h3>
&quot;advancedApiOpsConfig&quot;: { # Configuration for the Advanced API Ops add-on. # Configuration for the Advanced API Ops add-on.
&quot;enabled&quot;: True or False, # Flag that specifies whether the Advanced API Ops add-on is enabled.
},
&quot;integrationConfig&quot;: { # Configuration for the Integration add-on. # Configuration for the Integration add-on.
&quot;enabled&quot;: True or False, # Flag that specifies whether the Integration add-on is enabled.
},
&quot;monetizationConfig&quot;: { # Configuration for the Monetization add-on. # Configuration for the Monetization add-on.
&quot;enabled&quot;: True or False, # Flag that specifies whether the Monetization add-on is enabled.
},
Expand Down Expand Up @@ -340,9 +337,6 @@ <h3>Method Details</h3>
&quot;advancedApiOpsConfig&quot;: { # Configuration for the Advanced API Ops add-on. # Configuration for the Advanced API Ops add-on.
&quot;enabled&quot;: True or False, # Flag that specifies whether the Advanced API Ops add-on is enabled.
},
&quot;integrationConfig&quot;: { # Configuration for the Integration add-on. # Configuration for the Integration add-on.
&quot;enabled&quot;: True or False, # Flag that specifies whether the Integration add-on is enabled.
},
&quot;monetizationConfig&quot;: { # Configuration for the Monetization add-on. # Configuration for the Monetization add-on.
&quot;enabled&quot;: True or False, # Flag that specifies whether the Monetization add-on is enabled.
},
Expand Down Expand Up @@ -517,9 +511,6 @@ <h3>Method Details</h3>
&quot;advancedApiOpsConfig&quot;: { # Configuration for the Advanced API Ops add-on. # Configuration for the Advanced API Ops add-on.
&quot;enabled&quot;: True or False, # Flag that specifies whether the Advanced API Ops add-on is enabled.
},
&quot;integrationConfig&quot;: { # Configuration for the Integration add-on. # Configuration for the Integration add-on.
&quot;enabled&quot;: True or False, # Flag that specifies whether the Integration add-on is enabled.
},
&quot;monetizationConfig&quot;: { # Configuration for the Monetization add-on. # Configuration for the Monetization add-on.
&quot;enabled&quot;: True or False, # Flag that specifies whether the Monetization add-on is enabled.
},
Expand Down Expand Up @@ -601,9 +592,6 @@ <h3>Method Details</h3>
&quot;advancedApiOpsConfig&quot;: { # Configuration for the Advanced API Ops add-on. # Configuration for the Advanced API Ops add-on.
&quot;enabled&quot;: True or False, # Flag that specifies whether the Advanced API Ops add-on is enabled.
},
&quot;integrationConfig&quot;: { # Configuration for the Integration add-on. # Configuration for the Integration add-on.
&quot;enabled&quot;: True or False, # Flag that specifies whether the Integration add-on is enabled.
},
&quot;monetizationConfig&quot;: { # Configuration for the Monetization add-on. # Configuration for the Monetization add-on.
&quot;enabled&quot;: True or False, # Flag that specifies whether the Monetization add-on is enabled.
},
Expand Down Expand Up @@ -654,9 +642,6 @@ <h3>Method Details</h3>
&quot;advancedApiOpsConfig&quot;: { # Configuration for the Advanced API Ops add-on. # Configuration for the Advanced API Ops add-on.
&quot;enabled&quot;: True or False, # Flag that specifies whether the Advanced API Ops add-on is enabled.
},
&quot;integrationConfig&quot;: { # Configuration for the Integration add-on. # Configuration for the Integration add-on.
&quot;enabled&quot;: True or False, # Flag that specifies whether the Integration add-on is enabled.
},
&quot;monetizationConfig&quot;: { # Configuration for the Monetization add-on. # Configuration for the Monetization add-on.
&quot;enabled&quot;: True or False, # Flag that specifies whether the Monetization add-on is enabled.
},
Expand Down
56 changes: 56 additions & 0 deletions docs/dyn/apigee_v1.organizations.instances.html
Expand Up @@ -107,6 +107,9 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates an Apigee runtime instance. You can update the fields described in NodeConfig. No other fields will be updated. **Note:** Not supported for Apigee hybrid.</p>
<p class="toc_element">
<code><a href="#reportStatus">reportStatus(instance, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Reports the latest status for a runtime instance.</p>
Expand Down Expand Up @@ -282,6 +285,59 @@ <h3>Method Details</h3>
</pre>
</div>

<div class="method">
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
<pre>Updates an Apigee runtime instance. You can update the fields described in NodeConfig. No other fields will be updated. **Note:** Not supported for Apigee hybrid.

Args:
name: string, Required. Name of the instance. Use the following structure in your request: `organizations/{org}/instances/{instance}`. (required)
body: object, The request body.
The object takes the form of:

{ # Apigee runtime instance.
&quot;createdAt&quot;: &quot;A String&quot;, # Output only. Time the instance was created in milliseconds since epoch.
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of the instance.
&quot;diskEncryptionKeyName&quot;: &quot;A String&quot;, # Customer Managed Encryption Key (CMEK) used for disk and volume encryption. Required for Apigee paid subscriptions only. Use the following format: `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name for the instance.
&quot;host&quot;: &quot;A String&quot;, # Output only. Internal hostname or IP address of the Apigee endpoint used by clients to connect to the service.
&quot;lastModifiedAt&quot;: &quot;A String&quot;, # Output only. Time the instance was last modified in milliseconds since epoch.
&quot;location&quot;: &quot;A String&quot;, # Required. Compute Engine location where the instance resides.
&quot;name&quot;: &quot;A String&quot;, # Required. Resource ID of the instance. Values must match the regular expression `^a-z{0,30}[a-z\d]$`.
&quot;peeringCidrRange&quot;: &quot;A String&quot;, # Optional. Size of the CIDR block range that will be reserved by the instance. PAID organizations support `SLASH_16` to `SLASH_20` and defaults to `SLASH_16`. Evaluation organizations support only `SLASH_23`.
&quot;port&quot;: &quot;A String&quot;, # Output only. Port number of the exposed Apigee endpoint.
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the instance. Values other than `ACTIVE` means the resource is not ready to use.
}

updateMask: string, List of fields to be updated.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # This resource represents a long-running operation that is the result of a network API call.
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
&quot;error&quot;: { # 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). # The error result of the operation in case of failure or cancellation.
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
],
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
},
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
}</pre>
</div>

<div class="method">
<code class="details" id="reportStatus">reportStatus(instance, body=None, x__xgafv=None)</code>
<pre>Reports the latest status for a runtime instance.
Expand Down
51 changes: 35 additions & 16 deletions googleapiclient/discovery_cache/documents/apigee.v1.json
Expand Up @@ -5847,6 +5847,40 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates an Apigee runtime instance. You can update the fields described in NodeConfig. No other fields will be updated. **Note:** Not supported for Apigee hybrid.",
"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}",
"httpMethod": "PATCH",
"id": "apigee.organizations.instances.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. Name of the instance. Use the following structure in your request: `organizations/{org}/instances/{instance}`.",
"location": "path",
"pattern": "^organizations/[^/]+/instances/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "List of fields to be updated.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudApigeeV1Instance"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"reportStatus": {
"description": "Reports the latest status for a runtime instance.",
"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}:reportStatus",
Expand Down Expand Up @@ -7021,7 +7055,7 @@
}
}
},
"revision": "20210722",
"revision": "20210729",
"rootUrl": "https://apigee.googleapis.com/",
"schemas": {
"EdgeConfigstoreBundleBadBundle": {
Expand Down Expand Up @@ -7151,10 +7185,6 @@
"$ref": "GoogleCloudApigeeV1AdvancedApiOpsConfig",
"description": "Configuration for the Advanced API Ops add-on."
},
"integrationConfig": {
"$ref": "GoogleCloudApigeeV1IntegrationConfig",
"description": "Configuration for the Integration add-on."
},
"monetizationConfig": {
"$ref": "GoogleCloudApigeeV1MonetizationConfig",
"description": "Configuration for the Monetization add-on."
Expand Down Expand Up @@ -9592,17 +9622,6 @@
},
"type": "object"
},
"GoogleCloudApigeeV1IntegrationConfig": {
"description": "Configuration for the Integration add-on.",
"id": "GoogleCloudApigeeV1IntegrationConfig",
"properties": {
"enabled": {
"description": "Flag that specifies whether the Integration add-on is enabled.",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudApigeeV1KeyAliasReference": {
"id": "GoogleCloudApigeeV1KeyAliasReference",
"properties": {
Expand Down

0 comments on commit 4485c5f

Please sign in to comment.