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.GoogleCloudApigeeV1Deployment.properties.serviceAccount.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Jun 8, 2021
1 parent 2435dee commit e1ea873
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 33 deletions.
1 change: 0 additions & 1 deletion docs/dyn/apigee_v1.organizations.apis.deployments.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ <h3>Method Details</h3>
&quot;environmentGroup&quot;: &quot;A String&quot;, # Name of the environment group in which this conflict exists.
},
],
&quot;serviceAccount&quot;: &quot;A String&quot;, # The full resource name of Cloud IAM Service Account that this deployment is using, eg, `projects/-/serviceAccounts/{email}`.
&quot;state&quot;: &quot;A String&quot;, # Current state of the deployment. This field is not populated in List APIs.
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ <h3>Method Details</h3>
&quot;environmentGroup&quot;: &quot;A String&quot;, # Name of the environment group in which this conflict exists.
},
],
&quot;serviceAccount&quot;: &quot;A String&quot;, # The full resource name of Cloud IAM Service Account that this deployment is using, eg, `projects/-/serviceAccounts/{email}`.
&quot;state&quot;: &quot;A String&quot;, # Current state of the deployment. This field is not populated in List APIs.
},
],
Expand Down
1 change: 0 additions & 1 deletion docs/dyn/apigee_v1.organizations.deployments.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ <h3>Method Details</h3>
&quot;environmentGroup&quot;: &quot;A String&quot;, # Name of the environment group in which this conflict exists.
},
],
&quot;serviceAccount&quot;: &quot;A String&quot;, # The full resource name of Cloud IAM Service Account that this deployment is using, eg, `projects/-/serviceAccounts/{email}`.
&quot;state&quot;: &quot;A String&quot;, # Current state of the deployment. This field is not populated in List APIs.
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ <h3>Method Details</h3>
&quot;environmentGroup&quot;: &quot;A String&quot;, # Name of the environment group in which this conflict exists.
},
],
&quot;serviceAccount&quot;: &quot;A String&quot;, # The full resource name of Cloud IAM Service Account that this deployment is using, eg, `projects/-/serviceAccounts/{email}`.
&quot;state&quot;: &quot;A String&quot;, # Current state of the deployment. This field is not populated in List APIs.
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h2>Instance Methods</h2>
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#deploy">deploy(name, override=None, sequencedRollout=None, serviceAccount=None, x__xgafv=None)</a></code></p>
<code><a href="#deploy">deploy(name, override=None, sequencedRollout=None, x__xgafv=None)</a></code></p>
<p class="firstline">Deploys a revision of an API proxy. If another revision of the same API proxy revision is currently deployed, set the `override` parameter to `true` to have this revision replace the currently deployed revision. You cannot invoke an API proxy until it has been deployed to an environment. After you deploy an API proxy revision, you cannot edit it. To edit the API proxy, you must create and deploy a new revision. For a request path `organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}/deployments`, two permissions are required: * `apigee.deployments.create` on the resource `organizations/{org}/environments/{env}` * `apigee.proxyrevisions.deploy` on the resource `organizations/{org}/apis/{api}/revisions/{rev}` </p>
<p class="toc_element">
<code><a href="#getDeployments">getDeployments(name, x__xgafv=None)</a></code></p>
Expand All @@ -103,14 +103,13 @@ <h3>Method Details</h3>
</div>

<div class="method">
<code class="details" id="deploy">deploy(name, override=None, sequencedRollout=None, serviceAccount=None, x__xgafv=None)</code>
<code class="details" id="deploy">deploy(name, override=None, sequencedRollout=None, x__xgafv=None)</code>
<pre>Deploys a revision of an API proxy. If another revision of the same API proxy revision is currently deployed, set the `override` parameter to `true` to have this revision replace the currently deployed revision. You cannot invoke an API proxy until it has been deployed to an environment. After you deploy an API proxy revision, you cannot edit it. To edit the API proxy, you must create and deploy a new revision. For a request path `organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}/deployments`, two permissions are required: * `apigee.deployments.create` on the resource `organizations/{org}/environments/{env}` * `apigee.proxyrevisions.deploy` on the resource `organizations/{org}/apis/{api}/revisions/{rev}`

Args:
name: string, Required. Name of the API proxy revision deployment in the following format: `organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}` (required)
override: boolean, Flag that specifies whether the new deployment replaces other deployed revisions of the API proxy in the environment. Set `override` to `true` to replace other deployed revisions. By default, `override` is `false` and the deployment is rejected if other revisions of the API proxy are deployed in the environment.
sequencedRollout: boolean, Flag that specifies whether to enable sequenced rollout. If set to `true`, a best-effort attempt will be made to roll out the routing rules corresponding to this deployment and the environment changes to add this deployment in a safe order. This reduces the risk of downtime that could be caused by changing the environment group&#x27;s routing before the new destination for the affected traffic is ready to receive it. This should only be necessary if the new deployment will be capturing traffic from another environment under a shared environment group or if traffic will be rerouted to a different environment due to a base path removal. The [GenerateDeployChangeReport API](GenerateDeployChangeReport) may be used to examine routing changes before issuing the deployment request, and its response will indicate if a sequenced rollout is recommended for the deployment.
serviceAccount: string, Google Cloud IAM service account. The service account represents the identity of the deployed proxy, and determines what permissions it has. The format must be `{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com`.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
Expand Down Expand Up @@ -179,7 +178,6 @@ <h3>Method Details</h3>
&quot;environmentGroup&quot;: &quot;A String&quot;, # Name of the environment group in which this conflict exists.
},
],
&quot;serviceAccount&quot;: &quot;A String&quot;, # The full resource name of Cloud IAM Service Account that this deployment is using, eg, `projects/-/serviceAccounts/{email}`.
&quot;state&quot;: &quot;A String&quot;, # Current state of the deployment. This field is not populated in List APIs.
}</pre>
</div>
Expand Down Expand Up @@ -258,7 +256,6 @@ <h3>Method Details</h3>
&quot;environmentGroup&quot;: &quot;A String&quot;, # Name of the environment group in which this conflict exists.
},
],
&quot;serviceAccount&quot;: &quot;A String&quot;, # The full resource name of Cloud IAM Service Account that this deployment is using, eg, `projects/-/serviceAccounts/{email}`.
&quot;state&quot;: &quot;A String&quot;, # Current state of the deployment. This field is not populated in List APIs.
}</pre>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ <h3>Method Details</h3>
&quot;environmentGroup&quot;: &quot;A String&quot;, # Name of the environment group in which this conflict exists.
},
],
&quot;serviceAccount&quot;: &quot;A String&quot;, # The full resource name of Cloud IAM Service Account that this deployment is using, eg, `projects/-/serviceAccounts/{email}`.
&quot;state&quot;: &quot;A String&quot;, # Current state of the deployment. This field is not populated in List APIs.
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ <h3>Method Details</h3>
&quot;environmentGroup&quot;: &quot;A String&quot;, # Name of the environment group in which this conflict exists.
},
],
&quot;serviceAccount&quot;: &quot;A String&quot;, # The full resource name of Cloud IAM Service Account that this deployment is using, eg, `projects/-/serviceAccounts/{email}`.
&quot;state&quot;: &quot;A String&quot;, # Current state of the deployment. This field is not populated in List APIs.
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#deploy">deploy(name, override=None, serviceAccount=None, x__xgafv=None)</a></code></p>
<code><a href="#deploy">deploy(name, override=None, x__xgafv=None)</a></code></p>
<p class="firstline">Deploys a revision of a shared flow. If another revision of the same shared flow is currently deployed, set the `override` parameter to `true` to have this revision replace the currently deployed revision. You cannot use a shared flow until it has been deployed to an environment. For a request path `organizations/{org}/environments/{env}/sharedflows/{sf}/revisions/{rev}/deployments`, two permissions are required: * `apigee.deployments.create` on the resource `organizations/{org}/environments/{env}` * `apigee.sharedflowrevisions.deploy` on the resource `organizations/{org}/sharedflows/{sf}/revisions/{rev}`</p>
<p class="toc_element">
<code><a href="#getDeployments">getDeployments(name, x__xgafv=None)</a></code></p>
Expand All @@ -93,13 +93,12 @@ <h3>Method Details</h3>
</div>

<div class="method">
<code class="details" id="deploy">deploy(name, override=None, serviceAccount=None, x__xgafv=None)</code>
<code class="details" id="deploy">deploy(name, override=None, x__xgafv=None)</code>
<pre>Deploys a revision of a shared flow. If another revision of the same shared flow is currently deployed, set the `override` parameter to `true` to have this revision replace the currently deployed revision. You cannot use a shared flow until it has been deployed to an environment. For a request path `organizations/{org}/environments/{env}/sharedflows/{sf}/revisions/{rev}/deployments`, two permissions are required: * `apigee.deployments.create` on the resource `organizations/{org}/environments/{env}` * `apigee.sharedflowrevisions.deploy` on the resource `organizations/{org}/sharedflows/{sf}/revisions/{rev}`

Args:
name: string, Required. Name of the shared flow revision to deploy in the following format: `organizations/{org}/environments/{env}/sharedflows/{sharedflow}/revisions/{rev}` (required)
override: boolean, Flag that specifies whether the new deployment replaces other deployed revisions of the shared flow in the environment. Set `override` to `true` to replace other deployed revisions. By default, `override` is `false` and the deployment is rejected if other revisions of the shared flow are deployed in the environment.
serviceAccount: string, Google Cloud IAM service account. The service account represents the identity of the deployed proxy, and determines what permissions it has. The format must be `{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com`.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
Expand Down Expand Up @@ -168,7 +167,6 @@ <h3>Method Details</h3>
&quot;environmentGroup&quot;: &quot;A String&quot;, # Name of the environment group in which this conflict exists.
},
],
&quot;serviceAccount&quot;: &quot;A String&quot;, # The full resource name of Cloud IAM Service Account that this deployment is using, eg, `projects/-/serviceAccounts/{email}`.
&quot;state&quot;: &quot;A String&quot;, # Current state of the deployment. This field is not populated in List APIs.
}</pre>
</div>
Expand Down Expand Up @@ -247,7 +245,6 @@ <h3>Method Details</h3>
&quot;environmentGroup&quot;: &quot;A String&quot;, # Name of the environment group in which this conflict exists.
},
],
&quot;serviceAccount&quot;: &quot;A String&quot;, # The full resource name of Cloud IAM Service Account that this deployment is using, eg, `projects/-/serviceAccounts/{email}`.
&quot;state&quot;: &quot;A String&quot;, # Current state of the deployment. This field is not populated in List APIs.
}</pre>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ <h3>Method Details</h3>
&quot;environmentGroup&quot;: &quot;A String&quot;, # Name of the environment group in which this conflict exists.
},
],
&quot;serviceAccount&quot;: &quot;A String&quot;, # The full resource name of Cloud IAM Service Account that this deployment is using, eg, `projects/-/serviceAccounts/{email}`.
&quot;state&quot;: &quot;A String&quot;, # Current state of the deployment. This field is not populated in List APIs.
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ <h3>Method Details</h3>
&quot;environmentGroup&quot;: &quot;A String&quot;, # Name of the environment group in which this conflict exists.
},
],
&quot;serviceAccount&quot;: &quot;A String&quot;, # The full resource name of Cloud IAM Service Account that this deployment is using, eg, `projects/-/serviceAccounts/{email}`.
&quot;state&quot;: &quot;A String&quot;, # Current state of the deployment. This field is not populated in List APIs.
},
],
Expand Down
16 changes: 1 addition & 15 deletions googleapiclient/discovery_cache/documents/apigee.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3590,11 +3590,6 @@
"description": "Flag that specifies whether to enable sequenced rollout. If set to `true`, a best-effort attempt will be made to roll out the routing rules corresponding to this deployment and the environment changes to add this deployment in a safe order. This reduces the risk of downtime that could be caused by changing the environment group's routing before the new destination for the affected traffic is ready to receive it. This should only be necessary if the new deployment will be capturing traffic from another environment under a shared environment group or if traffic will be rerouted to a different environment due to a base path removal. The [GenerateDeployChangeReport API](GenerateDeployChangeReport) may be used to examine routing changes before issuing the deployment request, and its response will indicate if a sequenced rollout is recommended for the deployment.",
"location": "query",
"type": "boolean"
},
"serviceAccount": {
"description": "Google Cloud IAM service account. The service account represents the identity of the deployed proxy, and determines what permissions it has. The format must be `{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com`.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}/deployments",
Expand Down Expand Up @@ -4994,11 +4989,6 @@
"description": "Flag that specifies whether the new deployment replaces other deployed revisions of the shared flow in the environment. Set `override` to `true` to replace other deployed revisions. By default, `override` is `false` and the deployment is rejected if other revisions of the shared flow are deployed in the environment.",
"location": "query",
"type": "boolean"
},
"serviceAccount": {
"description": "Google Cloud IAM service account. The service account represents the identity of the deployed proxy, and determines what permissions it has. The format must be `{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com`.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}/deployments",
Expand Down Expand Up @@ -6996,7 +6986,7 @@
}
}
},
"revision": "20210522",
"revision": "20210528",
"rootUrl": "https://apigee.googleapis.com/",
"schemas": {
"GoogleApiHttpBody": {
Expand Down Expand Up @@ -8422,10 +8412,6 @@
},
"type": "array"
},
"serviceAccount": {
"description": "The full resource name of Cloud IAM Service Account that this deployment is using, eg, `projects/-/serviceAccounts/{email}`.",
"type": "string"
},
"state": {
"description": "Current state of the deployment. This field is not populated in List APIs.",
"enum": [
Expand Down

0 comments on commit e1ea873

Please sign in to comment.