Service connectors
Get a list of all service connectors.
Args: connector_filter_model: Filter model used for pagination, sorting, filtering project_name_or_id: Optional name or ID of the project to filter by. expand_secrets: Whether to expand secrets or not. hydrate: Flag deciding whether to hydrate the output model(s) by including metadata fields in the response.
Returns: Page with list of service connectors matching the filter criteria.
truefalsecreatedLogical Ops to use to combine filters on list methods.
andPossible values: 120Successful Response
Unauthorized
Forbidden
Not Found
Unprocessable Entity
Returns the requested service connector.
Args: connector_id: ID of the service connector. expand_secrets: Whether to expand secrets or not. hydrate: Flag deciding whether to hydrate the output model(s) by including metadata fields in the response.
Returns: The requested service connector.
truetrueSuccessful Response
Unauthorized
Forbidden
Not Found
Unprocessable Entity
Updates a service connector.
Args: connector_id: ID of the service connector. connector_update: Service connector to use to update.
Returns: Updated service connector.
Model used for service connector updates.
Most fields in the update model are optional and will not be updated if omitted. However, the following fields are "special" and leaving them out will also cause the corresponding value to be removed from the service connector in the database:
- the
resource_idfield - the
expiration_secondsfield
In addition to the above exceptions, the following rules apply:
- the
configurationfield represents a full valid configuration update, not just a partial update. If it is set (i.e. not None) in the update, its values will replace the existing configuration values. - the
labelsfield is also a full labels update: if set (i.e. notNone), all existing labels are removed and replaced by the new labels in the update.
NOTE: the attributes here override the ones in the base class, so they have a None default value.
Successful Response
Unauthorized
Forbidden
Not Found
Unprocessable Entity
Deletes a service connector.
Args: connector_id: ID of the service connector.
Successful Response
Unauthorized
Forbidden
Not Found
Unprocessable Entity
No content
Last updated
Was this helpful?