Skip to content

Commit

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

The following keys were added:
- resources.projects.resources.locations.resources.repositories.methods.computeAccessTokenStatus (Total Keys: 11)
- schemas.ComputeRepositoryAccessTokenStatusResponse (Total Keys: 3)
  • Loading branch information
yoshi-automation committed May 24, 2023
1 parent ffeaa42 commit 44ccc79
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/dyn/dataform_v1beta1.projects.locations.html
Expand Up @@ -111,7 +111,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

{ # 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 Expand Up @@ -143,7 +143,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
22 changes: 22 additions & 0 deletions docs/dyn/dataform_v1beta1.projects.locations.repositories.html
Expand Up @@ -102,6 +102,9 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#computeAccessTokenStatus">computeAccessTokenStatus(name, x__xgafv=None)</a></code></p>
<p class="firstline">Computes a Repository's Git access token status.</p>
<p class="toc_element">
<code><a href="#create">create(parent, body=None, repositoryId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Creates a new Repository in a given project and location.</p>
Expand Down Expand Up @@ -138,6 +141,25 @@ <h3>Method Details</h3>
<pre>Close httplib2 connections.</pre>
</div>

<div class="method">
<code class="details" id="computeAccessTokenStatus">computeAccessTokenStatus(name, x__xgafv=None)</code>
<pre>Computes a Repository&#x27;s Git access token status.

Args:
name: string, Required. The repository&#x27;s name. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # `ComputeRepositoryAccessTokenStatus` response message.
&quot;tokenStatus&quot;: &quot;A String&quot;, # Indicates the status of the Git access token.
}</pre>
</div>

<div class="method">
<code class="details" id="create">create(parent, body=None, repositoryId=None, x__xgafv=None)</code>
<pre>Creates a new Repository in a given project and location.
Expand Down
52 changes: 50 additions & 2 deletions googleapiclient/discovery_cache/documents/dataform.v1beta1.json
Expand Up @@ -178,6 +178,31 @@
"resources": {
"repositories": {
"methods": {
"computeAccessTokenStatus": {
"description": "Computes a Repository's Git access token status.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:computeAccessTokenStatus",
"httpMethod": "GET",
"id": "dataform.projects.locations.repositories.computeAccessTokenStatus",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The repository's name.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:computeAccessTokenStatus",
"response": {
"$ref": "ComputeRepositoryAccessTokenStatusResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"create": {
"description": "Creates a new Repository in a given project and location.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories",
Expand Down Expand Up @@ -1791,7 +1816,7 @@
}
}
},
"revision": "20230408",
"revision": "20230512",
"rootUrl": "https://dataform.googleapis.com/",
"schemas": {
"Assertion": {
Expand Down Expand Up @@ -2083,6 +2108,29 @@
},
"type": "object"
},
"ComputeRepositoryAccessTokenStatusResponse": {
"description": "`ComputeRepositoryAccessTokenStatus` response message.",
"id": "ComputeRepositoryAccessTokenStatusResponse",
"properties": {
"tokenStatus": {
"description": "Indicates the status of the Git access token.",
"enum": [
"TOKEN_STATUS_UNSPECIFIED",
"NOT_FOUND",
"INVALID",
"VALID"
],
"enumDescriptions": [
"Default value. This value is unused.",
"The token could not be found in Secret Manager (or the Dataform Service Account did not have permission to access it).",
"The token could not be used to authenticate against the Git remote.",
"The token was used successfully to authenticate against the Git remote."
],
"type": "string"
}
},
"type": "object"
},
"Declaration": {
"description": "Represents a relation which is not managed by Dataform but which may be referenced by Dataform actions.",
"id": "Declaration",
Expand Down Expand Up @@ -2501,7 +2549,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

0 comments on commit 44ccc79

Please sign in to comment.