Skip to content

Commit

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

The following keys were added:
- schemas.CryptoKeyConfig (Total Keys: 3)
- schemas.Instance.properties.cryptoKeyConfig.$ref (Total Keys: 1)

#### datafusion:v1beta1

The following keys were added:
- resources.projects.resources.locations.resources.instances.resources.dnsPeerings.methods.add (Total Keys: 12)
- resources.projects.resources.locations.resources.instances.resources.dnsPeerings.methods.list (Total Keys: 16)
- resources.projects.resources.locations.resources.instances.resources.dnsPeerings.methods.remove (Total Keys: 12)
- resources.projects.resources.locations.resources.instances.resources.namespaces.methods.list (Total Keys: 18)
- schemas.AddDnsPeeringRequest (Total Keys: 3)
- schemas.AddDnsPeeringResponse (Total Keys: 2)
- schemas.CryptoKeyConfig (Total Keys: 3)
- schemas.DnsPeering (Total Keys: 6)
- schemas.IAMPolicy (Total Keys: 4)
- schemas.Instance.properties.cryptoKeyConfig.$ref (Total Keys: 1)
- schemas.ListDnsPeeringsResponse (Total Keys: 5)
- schemas.ListNamespacesResponse (Total Keys: 5)
- schemas.Namespace (Total Keys: 4)
- schemas.RemoveDnsPeeringRequest (Total Keys: 3)
- schemas.RemoveDnsPeeringResponse (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Jul 6, 2021
1 parent c0695aa commit f6bf3c6
Show file tree
Hide file tree
Showing 8 changed files with 640 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/dyn/datafusion_v1.projects.locations.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h3>Method Details</h3>
name: string, The resource that owns the locations collection, if applicable. (required)
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like &quot;displayName=tokyo&quot;, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
includeUnrevealedLocations: boolean, If true, the returned list will include locations which are not yet revealed.
pageSize: integer, The maximum number of results to return. If not set, the service will select a default.
pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
x__xgafv: string, V1 error format.
Allowed values
Expand Down
20 changes: 16 additions & 4 deletions docs/dyn/datafusion_v1.projects.locations.instances.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,17 @@ <h3>Method Details</h3>
},
],
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
&quot;cryptoKeyConfig&quot;: { # The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. # The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
&quot;keyReference&quot;: &quot;A String&quot;, # The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
},
&quot;dataprocServiceAccount&quot;: &quot;A String&quot;, # User-managed service account to set on Dataproc when Cloud Data Fusion creates Dataproc to run data processing pipelines. This allows users to have fine-grained access control on Dataproc&#x27;s accesses to cloud resources.
&quot;description&quot;: &quot;A String&quot;, # A description of this instance.
&quot;displayName&quot;: &quot;A String&quot;, # Display name for an instance.
&quot;enableRbac&quot;: True or False, # Option to enable granular role-based access control.
&quot;enableStackdriverLogging&quot;: True or False, # Option to enable Stackdriver Logging.
&quot;enableStackdriverMonitoring&quot;: True or False, # Option to enable Stackdriver Monitoring.
&quot;gcsBucket&quot;: &quot;A String&quot;, # Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
&quot;labels&quot;: { # The resource labels for instance to use to annotate any related underlying resources such as GCE VMs. The character &#x27;=&#x27; is not allowed to be used within the labels.
&quot;labels&quot;: { # The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs. The character &#x27;=&#x27; is not allowed to be used within the labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.
Expand Down Expand Up @@ -268,14 +271,17 @@ <h3>Method Details</h3>
},
],
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
&quot;cryptoKeyConfig&quot;: { # The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. # The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
&quot;keyReference&quot;: &quot;A String&quot;, # The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
},
&quot;dataprocServiceAccount&quot;: &quot;A String&quot;, # User-managed service account to set on Dataproc when Cloud Data Fusion creates Dataproc to run data processing pipelines. This allows users to have fine-grained access control on Dataproc&#x27;s accesses to cloud resources.
&quot;description&quot;: &quot;A String&quot;, # A description of this instance.
&quot;displayName&quot;: &quot;A String&quot;, # Display name for an instance.
&quot;enableRbac&quot;: True or False, # Option to enable granular role-based access control.
&quot;enableStackdriverLogging&quot;: True or False, # Option to enable Stackdriver Logging.
&quot;enableStackdriverMonitoring&quot;: True or False, # Option to enable Stackdriver Monitoring.
&quot;gcsBucket&quot;: &quot;A String&quot;, # Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
&quot;labels&quot;: { # The resource labels for instance to use to annotate any related underlying resources such as GCE VMs. The character &#x27;=&#x27; is not allowed to be used within the labels.
&quot;labels&quot;: { # The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs. The character &#x27;=&#x27; is not allowed to be used within the labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.
Expand Down Expand Up @@ -386,14 +392,17 @@ <h3>Method Details</h3>
},
],
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
&quot;cryptoKeyConfig&quot;: { # The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. # The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
&quot;keyReference&quot;: &quot;A String&quot;, # The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
},
&quot;dataprocServiceAccount&quot;: &quot;A String&quot;, # User-managed service account to set on Dataproc when Cloud Data Fusion creates Dataproc to run data processing pipelines. This allows users to have fine-grained access control on Dataproc&#x27;s accesses to cloud resources.
&quot;description&quot;: &quot;A String&quot;, # A description of this instance.
&quot;displayName&quot;: &quot;A String&quot;, # Display name for an instance.
&quot;enableRbac&quot;: True or False, # Option to enable granular role-based access control.
&quot;enableStackdriverLogging&quot;: True or False, # Option to enable Stackdriver Logging.
&quot;enableStackdriverMonitoring&quot;: True or False, # Option to enable Stackdriver Monitoring.
&quot;gcsBucket&quot;: &quot;A String&quot;, # Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
&quot;labels&quot;: { # The resource labels for instance to use to annotate any related underlying resources such as GCE VMs. The character &#x27;=&#x27; is not allowed to be used within the labels.
&quot;labels&quot;: { # The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs. The character &#x27;=&#x27; is not allowed to be used within the labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.
Expand Down Expand Up @@ -465,14 +474,17 @@ <h3>Method Details</h3>
},
],
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
&quot;cryptoKeyConfig&quot;: { # The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. # The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
&quot;keyReference&quot;: &quot;A String&quot;, # The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
},
&quot;dataprocServiceAccount&quot;: &quot;A String&quot;, # User-managed service account to set on Dataproc when Cloud Data Fusion creates Dataproc to run data processing pipelines. This allows users to have fine-grained access control on Dataproc&#x27;s accesses to cloud resources.
&quot;description&quot;: &quot;A String&quot;, # A description of this instance.
&quot;displayName&quot;: &quot;A String&quot;, # Display name for an instance.
&quot;enableRbac&quot;: True or False, # Option to enable granular role-based access control.
&quot;enableStackdriverLogging&quot;: True or False, # Option to enable Stackdriver Logging.
&quot;enableStackdriverMonitoring&quot;: True or False, # Option to enable Stackdriver Monitoring.
&quot;gcsBucket&quot;: &quot;A String&quot;, # Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
&quot;labels&quot;: { # The resource labels for instance to use to annotate any related underlying resources such as GCE VMs. The character &#x27;=&#x27; is not allowed to be used within the labels.
&quot;labels&quot;: { # The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs. The character &#x27;=&#x27; is not allowed to be used within the labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.
Expand Down
2 changes: 1 addition & 1 deletion docs/dyn/datafusion_v1beta1.projects.locations.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ <h3>Method Details</h3>
name: string, The resource that owns the locations collection, if applicable. (required)
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like &quot;displayName=tokyo&quot;, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
includeUnrevealedLocations: boolean, If true, the returned list will include locations which are not yet revealed.
pageSize: integer, The maximum number of results to return. If not set, the service will select a default.
pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
x__xgafv: string, V1 error format.
Allowed values
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,198 @@
<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}

body {
font-size: 13px;
padding: 1em;
}

h1 {
font-size: 26px;
margin-bottom: 1em;
}

h2 {
font-size: 24px;
margin-bottom: 1em;
}

h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}

pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
margin-top: 0.5em;
}

h1, h2, h3, p {
font-family: Arial, sans serif;
}

h1, h2, h3 {
border-bottom: solid #CCC 1px;
}

.toc_element {
margin-top: 0.5em;
}

.firstline {
margin-left: 2 em;
}

.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}

.details {
font-weight: bold;
font-size: 14px;
}

</style>

<h1><a href="datafusion_v1beta1.html">Cloud Data Fusion API</a> . <a href="datafusion_v1beta1.projects.html">projects</a> . <a href="datafusion_v1beta1.projects.locations.html">locations</a> . <a href="datafusion_v1beta1.projects.locations.instances.html">instances</a> . <a href="datafusion_v1beta1.projects.locations.instances.dnsPeerings.html">dnsPeerings</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#add">add(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Add DNS peering on the given resource.</p>
<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="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">List DNS peering for a given resource.</p>
<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="#remove">remove(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Remove DNS peering on the given resource.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="add">add(parent, body=None, x__xgafv=None)</code>
<pre>Add DNS peering on the given resource.

Args:
parent: string, The resource on which DNS peering will be created. (required)
body: object, The request body.
The object takes the form of:

{ # Request message to create dns peering.
&quot;dnsPeering&quot;: { # DNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS. # Dns peering config.
&quot;description&quot;: &quot;A String&quot;, # Optional. Optional description of the dns zone.
&quot;domain&quot;: &quot;A String&quot;, # Required. Name of the dns.
&quot;targetNetwork&quot;: &quot;A String&quot;, # Optional. Optional target network to which dns peering should happen.
&quot;targetProject&quot;: &quot;A String&quot;, # Optional. Optional target project to which dns peering should happen.
&quot;zone&quot;: &quot;A String&quot;, # Required. Name of the zone.
},
}

x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # Response message for set dns peering method.
}</pre>
</div>

<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>

<div class="method">
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
<pre>List DNS peering for a given resource.

Args:
parent: string, Required. The resource on which dns peering will be listed. (required)
pageSize: integer, The maximum number of items to return.
pageToken: string, The next_page_token value to use if there are additional results to retrieve for this list request.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # List dns peering response.
&quot;dnsPeerings&quot;: [ # List of dns peering configs.
{ # DNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS.
&quot;description&quot;: &quot;A String&quot;, # Optional. Optional description of the dns zone.
&quot;domain&quot;: &quot;A String&quot;, # Required. Name of the dns.
&quot;targetNetwork&quot;: &quot;A String&quot;, # Optional. Optional target network to which dns peering should happen.
&quot;targetProject&quot;: &quot;A String&quot;, # Optional. Optional target project to which dns peering should happen.
&quot;zone&quot;: &quot;A String&quot;, # Required. Name of the zone.
},
],
&quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results or empty if there are no more results in the list.
}</pre>
</div>

<div class="method">
<code class="details" id="list_next">list_next(previous_request, previous_response)</code>
<pre>Retrieves the next page of results.

Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)

Returns:
A request object that you can call &#x27;execute()&#x27; on to request the next
page. Returns None if there are no more items in the collection.
</pre>
</div>

<div class="method">
<code class="details" id="remove">remove(parent, body=None, x__xgafv=None)</code>
<pre>Remove DNS peering on the given resource.

Args:
parent: string, The resource on which DNS peering will be removed. (required)
body: object, The request body.
The object takes the form of:

{ # Request message to remove dns peering.
&quot;zone&quot;: &quot;A String&quot;, # Required. The zone to be removed.
}

x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # Response message for set dns peering method.
}</pre>
</div>

</body></html>
Loading

0 comments on commit f6bf3c6

Please sign in to comment.