blob: 4ae5b6e4e6deb04b99d99c36e7f96abbe5985a42 [file] [log] [blame]
<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="connectors_v1.html">Connectors API</a> . <a href="connectors_v1.projects.html">projects</a> . <a href="connectors_v1.projects.locations.html">locations</a> . <a href="connectors_v1.projects.locations.global_.html">global_</a> . <a href="connectors_v1.projects.locations.global_.providers.html">providers</a> . <a href="connectors_v1.projects.locations.global_.providers.connectors.html">connectors</a> . <a href="connectors_v1.projects.locations.global_.providers.connectors.versions.html">versions</a></h1>
<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="#get">get(name, view=None, x__xgafv=None)</a></code></p>
<p class="firstline">Gets details of a single connector version.</p>
<p class="toc_element">
<code><a href="#list">list(parent, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists Connector Versions in a given project and location.</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>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>
<div class="method">
<code class="details" id="get">get(name, view=None, x__xgafv=None)</code>
<pre>Gets details of a single connector version.
Args:
name: string, Required. Resource name of the form: `projects/*/locations/*/providers/*/connectors/*/versions/*` (required)
view: string, Specifies which fields of the ConnectorVersion are returned in the response. Defaults to `CUSTOMER` view.
Allowed values
CONNECTOR_VERSION_VIEW_UNSPECIFIED - CONNECTOR_VERSION_VIEW_UNSPECIFIED.
CONNECTOR_VERSION_VIEW_BASIC - Do not include role grant configs.
CONNECTOR_VERSION_VIEW_FULL - Include role grant configs.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # ConnectorVersion indicates a specific version of a connector.
&quot;authConfigTemplates&quot;: [ # Output only. List of auth configs supported by the Connector Version.
{ # AuthConfigTemplate defines required field over an authentication type.
&quot;authType&quot;: &quot;A String&quot;, # The type of authentication configured.
&quot;configVariableTemplates&quot;: [ # Config variables to describe an `AuthConfig` for a `Connection`.
{ # ConfigVariableTemplate provides metadata about a `ConfigVariable` that is used in a Connection.
&quot;description&quot;: &quot;A String&quot;, # Description.
&quot;displayName&quot;: &quot;A String&quot;, # Display name of the parameter.
&quot;key&quot;: &quot;A String&quot;, # Key of the config variable.
&quot;required&quot;: True or False, # Flag represents that this `ConfigVariable` must be provided for a connection.
&quot;roleGrant&quot;: { # This configuration defines all the Cloud IAM roles that needs to be granted to a particular GCP resource for the selected prinicpal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a &#x27;grant&#x27; button to do the same on behalf of the user. # Role grant configuration for the config variable.
&quot;helperTextTemplate&quot;: &quot;A String&quot;, # Template that UI can use to provide helper text to customers.
&quot;principal&quot;: &quot;A String&quot;, # Prinicipal/Identity for whom the role need to assigned.
&quot;resource&quot;: { # Resource definition # Resource on which the roles needs to be granted for the principal.
&quot;pathTemplate&quot;: &quot;A String&quot;, # Template to uniquely represent a GCP resource in a format IAM expects This is a template that can have references to other values provided in the config variable template.
&quot;type&quot;: &quot;A String&quot;, # Different types of resource supported.
},
&quot;roles&quot;: [ # List of roles that need to be granted.
&quot;A String&quot;,
],
},
&quot;validationRegex&quot;: &quot;A String&quot;, # Regular expression in RE2 syntax used for validating the `value` of a `ConfigVariable`.
&quot;valueType&quot;: &quot;A String&quot;, # Type of the parameter: string, int, bool etc. consider custom type for the benefit for the validation.
},
],
},
],
&quot;configVariableTemplates&quot;: [ # Output only. List of config variables needed to create a connection.
{ # ConfigVariableTemplate provides metadata about a `ConfigVariable` that is used in a Connection.
&quot;description&quot;: &quot;A String&quot;, # Description.
&quot;displayName&quot;: &quot;A String&quot;, # Display name of the parameter.
&quot;key&quot;: &quot;A String&quot;, # Key of the config variable.
&quot;required&quot;: True or False, # Flag represents that this `ConfigVariable` must be provided for a connection.
&quot;roleGrant&quot;: { # This configuration defines all the Cloud IAM roles that needs to be granted to a particular GCP resource for the selected prinicpal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a &#x27;grant&#x27; button to do the same on behalf of the user. # Role grant configuration for the config variable.
&quot;helperTextTemplate&quot;: &quot;A String&quot;, # Template that UI can use to provide helper text to customers.
&quot;principal&quot;: &quot;A String&quot;, # Prinicipal/Identity for whom the role need to assigned.
&quot;resource&quot;: { # Resource definition # Resource on which the roles needs to be granted for the principal.
&quot;pathTemplate&quot;: &quot;A String&quot;, # Template to uniquely represent a GCP resource in a format IAM expects This is a template that can have references to other values provided in the config variable template.
&quot;type&quot;: &quot;A String&quot;, # Different types of resource supported.
},
&quot;roles&quot;: [ # List of roles that need to be granted.
&quot;A String&quot;,
],
},
&quot;validationRegex&quot;: &quot;A String&quot;, # Regular expression in RE2 syntax used for validating the `value` of a `ConfigVariable`.
&quot;valueType&quot;: &quot;A String&quot;, # Type of the parameter: string, int, bool etc. consider custom type for the benefit for the validation.
},
],
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
&quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name.
&quot;egressControlConfig&quot;: { # Egress control config for connector runtime. These configurations define the rules to identify which outbound domains/hosts needs to be whitelisted. It may be a static information for a particular connector version or it is derived from the configurations provided by the customer in Connection resource. # Output only. Configuration for Egress Control.
&quot;backends&quot;: &quot;A String&quot;, # Static Comma separated backends which are common for all Connection resources. Supported formats for each backend are host:port or just host (host can be ip address or domain name).
&quot;extractionRules&quot;: { # Extraction Rules to identity the backends from customer provided configuration in Connection resource. # Extractions Rules to extract the backends from customer provided configuration.
&quot;extractionRule&quot;: [ # Collection of Extraction Rule.
{ # Extraction Rule.
&quot;extractionRegex&quot;: &quot;A String&quot;, # Regex used to extract backend details from source. If empty, whole source value will be used.
&quot;source&quot;: { # Source to extract the backend from. # Source on which the rule is applied.
&quot;fieldId&quot;: &quot;A String&quot;, # Field identifier. For example config vaiable name.
&quot;sourceType&quot;: &quot;A String&quot;, # Type of the source.
},
},
],
},
},
&quot;labels&quot;: { # Output only. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;launchStage&quot;: &quot;A String&quot;, # Output only. Flag to mark the version indicating the launch stage.
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the Version. Format: projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version}
&quot;releaseVersion&quot;: &quot;A String&quot;, # Output only. ReleaseVersion of the connector, for example: &quot;1.0.1-alpha&quot;.
&quot;roleGrant&quot;: { # This configuration defines all the Cloud IAM roles that needs to be granted to a particular GCP resource for the selected prinicpal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a &#x27;grant&#x27; button to do the same on behalf of the user. # Output only. Role grant configuration for this config variable. It will be DEPRECATED soon.
&quot;helperTextTemplate&quot;: &quot;A String&quot;, # Template that UI can use to provide helper text to customers.
&quot;principal&quot;: &quot;A String&quot;, # Prinicipal/Identity for whom the role need to assigned.
&quot;resource&quot;: { # Resource definition # Resource on which the roles needs to be granted for the principal.
&quot;pathTemplate&quot;: &quot;A String&quot;, # Template to uniquely represent a GCP resource in a format IAM expects This is a template that can have references to other values provided in the config variable template.
&quot;type&quot;: &quot;A String&quot;, # Different types of resource supported.
},
&quot;roles&quot;: [ # List of roles that need to be granted.
&quot;A String&quot;,
],
},
&quot;roleGrants&quot;: [ # Output only. Role grant configurations for this connector version.
{ # This configuration defines all the Cloud IAM roles that needs to be granted to a particular GCP resource for the selected prinicpal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a &#x27;grant&#x27; button to do the same on behalf of the user.
&quot;helperTextTemplate&quot;: &quot;A String&quot;, # Template that UI can use to provide helper text to customers.
&quot;principal&quot;: &quot;A String&quot;, # Prinicipal/Identity for whom the role need to assigned.
&quot;resource&quot;: { # Resource definition # Resource on which the roles needs to be granted for the principal.
&quot;pathTemplate&quot;: &quot;A String&quot;, # Template to uniquely represent a GCP resource in a format IAM expects This is a template that can have references to other values provided in the config variable template.
&quot;type&quot;: &quot;A String&quot;, # Different types of resource supported.
},
&quot;roles&quot;: [ # List of roles that need to be granted.
&quot;A String&quot;,
],
},
],
&quot;supportedRuntimeFeatures&quot;: { # Supported runtime features of a connector version. This is passed to the management layer to add a new connector version by the connector developer. Details about how this proto is passed to the management layer is covered in this doc - go/runtime-manifest. # Output only. Information about the runtime features supported by the Connector.
&quot;actionApis&quot;: True or False, # Specifies if the connector supports action apis like &#x27;executeAction&#x27;.
&quot;entityApis&quot;: True or False, # Specifies if the connector supports entity apis like &#x27;createEntity&#x27;.
&quot;sqlQuery&quot;: True or False, # Specifies if the connector supports &#x27;ExecuteSqlQuery&#x27; operation.
},
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
}</pre>
</div>
<div class="method">
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, view=None, x__xgafv=None)</code>
<pre>Lists Connector Versions in a given project and location.
Args:
parent: string, Required. Parent resource of the connectors, of the form: `projects/*/locations/*/providers/*/connectors/*` (required)
pageSize: integer, Page size.
pageToken: string, Page token.
view: string, Specifies which fields of the ConnectorVersion are returned in the response. Defaults to `CUSTOMER` view.
Allowed values
CONNECTOR_VERSION_VIEW_UNSPECIFIED - CONNECTOR_VERSION_VIEW_UNSPECIFIED.
CONNECTOR_VERSION_VIEW_BASIC - Do not include role grant configs.
CONNECTOR_VERSION_VIEW_FULL - Include role grant configs.
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 Connectors.ListConnectorVersions.
&quot;connectorVersions&quot;: [ # A list of connector versions.
{ # ConnectorVersion indicates a specific version of a connector.
&quot;authConfigTemplates&quot;: [ # Output only. List of auth configs supported by the Connector Version.
{ # AuthConfigTemplate defines required field over an authentication type.
&quot;authType&quot;: &quot;A String&quot;, # The type of authentication configured.
&quot;configVariableTemplates&quot;: [ # Config variables to describe an `AuthConfig` for a `Connection`.
{ # ConfigVariableTemplate provides metadata about a `ConfigVariable` that is used in a Connection.
&quot;description&quot;: &quot;A String&quot;, # Description.
&quot;displayName&quot;: &quot;A String&quot;, # Display name of the parameter.
&quot;key&quot;: &quot;A String&quot;, # Key of the config variable.
&quot;required&quot;: True or False, # Flag represents that this `ConfigVariable` must be provided for a connection.
&quot;roleGrant&quot;: { # This configuration defines all the Cloud IAM roles that needs to be granted to a particular GCP resource for the selected prinicpal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a &#x27;grant&#x27; button to do the same on behalf of the user. # Role grant configuration for the config variable.
&quot;helperTextTemplate&quot;: &quot;A String&quot;, # Template that UI can use to provide helper text to customers.
&quot;principal&quot;: &quot;A String&quot;, # Prinicipal/Identity for whom the role need to assigned.
&quot;resource&quot;: { # Resource definition # Resource on which the roles needs to be granted for the principal.
&quot;pathTemplate&quot;: &quot;A String&quot;, # Template to uniquely represent a GCP resource in a format IAM expects This is a template that can have references to other values provided in the config variable template.
&quot;type&quot;: &quot;A String&quot;, # Different types of resource supported.
},
&quot;roles&quot;: [ # List of roles that need to be granted.
&quot;A String&quot;,
],
},
&quot;validationRegex&quot;: &quot;A String&quot;, # Regular expression in RE2 syntax used for validating the `value` of a `ConfigVariable`.
&quot;valueType&quot;: &quot;A String&quot;, # Type of the parameter: string, int, bool etc. consider custom type for the benefit for the validation.
},
],
},
],
&quot;configVariableTemplates&quot;: [ # Output only. List of config variables needed to create a connection.
{ # ConfigVariableTemplate provides metadata about a `ConfigVariable` that is used in a Connection.
&quot;description&quot;: &quot;A String&quot;, # Description.
&quot;displayName&quot;: &quot;A String&quot;, # Display name of the parameter.
&quot;key&quot;: &quot;A String&quot;, # Key of the config variable.
&quot;required&quot;: True or False, # Flag represents that this `ConfigVariable` must be provided for a connection.
&quot;roleGrant&quot;: { # This configuration defines all the Cloud IAM roles that needs to be granted to a particular GCP resource for the selected prinicpal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a &#x27;grant&#x27; button to do the same on behalf of the user. # Role grant configuration for the config variable.
&quot;helperTextTemplate&quot;: &quot;A String&quot;, # Template that UI can use to provide helper text to customers.
&quot;principal&quot;: &quot;A String&quot;, # Prinicipal/Identity for whom the role need to assigned.
&quot;resource&quot;: { # Resource definition # Resource on which the roles needs to be granted for the principal.
&quot;pathTemplate&quot;: &quot;A String&quot;, # Template to uniquely represent a GCP resource in a format IAM expects This is a template that can have references to other values provided in the config variable template.
&quot;type&quot;: &quot;A String&quot;, # Different types of resource supported.
},
&quot;roles&quot;: [ # List of roles that need to be granted.
&quot;A String&quot;,
],
},
&quot;validationRegex&quot;: &quot;A String&quot;, # Regular expression in RE2 syntax used for validating the `value` of a `ConfigVariable`.
&quot;valueType&quot;: &quot;A String&quot;, # Type of the parameter: string, int, bool etc. consider custom type for the benefit for the validation.
},
],
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
&quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name.
&quot;egressControlConfig&quot;: { # Egress control config for connector runtime. These configurations define the rules to identify which outbound domains/hosts needs to be whitelisted. It may be a static information for a particular connector version or it is derived from the configurations provided by the customer in Connection resource. # Output only. Configuration for Egress Control.
&quot;backends&quot;: &quot;A String&quot;, # Static Comma separated backends which are common for all Connection resources. Supported formats for each backend are host:port or just host (host can be ip address or domain name).
&quot;extractionRules&quot;: { # Extraction Rules to identity the backends from customer provided configuration in Connection resource. # Extractions Rules to extract the backends from customer provided configuration.
&quot;extractionRule&quot;: [ # Collection of Extraction Rule.
{ # Extraction Rule.
&quot;extractionRegex&quot;: &quot;A String&quot;, # Regex used to extract backend details from source. If empty, whole source value will be used.
&quot;source&quot;: { # Source to extract the backend from. # Source on which the rule is applied.
&quot;fieldId&quot;: &quot;A String&quot;, # Field identifier. For example config vaiable name.
&quot;sourceType&quot;: &quot;A String&quot;, # Type of the source.
},
},
],
},
},
&quot;labels&quot;: { # Output only. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;launchStage&quot;: &quot;A String&quot;, # Output only. Flag to mark the version indicating the launch stage.
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the Version. Format: projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version}
&quot;releaseVersion&quot;: &quot;A String&quot;, # Output only. ReleaseVersion of the connector, for example: &quot;1.0.1-alpha&quot;.
&quot;roleGrant&quot;: { # This configuration defines all the Cloud IAM roles that needs to be granted to a particular GCP resource for the selected prinicpal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a &#x27;grant&#x27; button to do the same on behalf of the user. # Output only. Role grant configuration for this config variable. It will be DEPRECATED soon.
&quot;helperTextTemplate&quot;: &quot;A String&quot;, # Template that UI can use to provide helper text to customers.
&quot;principal&quot;: &quot;A String&quot;, # Prinicipal/Identity for whom the role need to assigned.
&quot;resource&quot;: { # Resource definition # Resource on which the roles needs to be granted for the principal.
&quot;pathTemplate&quot;: &quot;A String&quot;, # Template to uniquely represent a GCP resource in a format IAM expects This is a template that can have references to other values provided in the config variable template.
&quot;type&quot;: &quot;A String&quot;, # Different types of resource supported.
},
&quot;roles&quot;: [ # List of roles that need to be granted.
&quot;A String&quot;,
],
},
&quot;roleGrants&quot;: [ # Output only. Role grant configurations for this connector version.
{ # This configuration defines all the Cloud IAM roles that needs to be granted to a particular GCP resource for the selected prinicpal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a &#x27;grant&#x27; button to do the same on behalf of the user.
&quot;helperTextTemplate&quot;: &quot;A String&quot;, # Template that UI can use to provide helper text to customers.
&quot;principal&quot;: &quot;A String&quot;, # Prinicipal/Identity for whom the role need to assigned.
&quot;resource&quot;: { # Resource definition # Resource on which the roles needs to be granted for the principal.
&quot;pathTemplate&quot;: &quot;A String&quot;, # Template to uniquely represent a GCP resource in a format IAM expects This is a template that can have references to other values provided in the config variable template.
&quot;type&quot;: &quot;A String&quot;, # Different types of resource supported.
},
&quot;roles&quot;: [ # List of roles that need to be granted.
&quot;A String&quot;,
],
},
],
&quot;supportedRuntimeFeatures&quot;: { # Supported runtime features of a connector version. This is passed to the management layer to add a new connector version by the connector developer. Details about how this proto is passed to the management layer is covered in this doc - go/runtime-manifest. # Output only. Information about the runtime features supported by the Connector.
&quot;actionApis&quot;: True or False, # Specifies if the connector supports action apis like &#x27;executeAction&#x27;.
&quot;entityApis&quot;: True or False, # Specifies if the connector supports entity apis like &#x27;createEntity&#x27;.
&quot;sqlQuery&quot;: True or False, # Specifies if the connector supports &#x27;ExecuteSqlQuery&#x27; operation.
},
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
},
],
&quot;nextPageToken&quot;: &quot;A String&quot;, # Next page token.
&quot;unreachable&quot;: [ # Locations that could not be reached.
&quot;A String&quot;,
],
}</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>
</body></html>