@datafire/google_servicemanagement v6.0.0
@datafire/google_servicemanagement
Client library for Service Management API
Installation and Usage
npm install --save @datafire/google_servicemanagement
let google_servicemanagement = require('@datafire/google_servicemanagement').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Description
Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers.
Actions
oauthCallback
Exchange the code passed to your redirect URI for an access_token
google_servicemanagement.oauthCallback({
"code": ""
}, context)
Input
- input
object
- code required
string
- code required
Output
- output
object
- access_token
string
- refresh_token
string
- token_type
string
- scope
string
- expiration
string
- access_token
oauthRefresh
Exchange a refresh_token for an access_token
google_servicemanagement.oauthRefresh(null, context)
Input
This action has no parameters
Output
- output
object
- access_token
string
- refresh_token
string
- token_type
string
- scope
string
- expiration
string
- access_token
servicemanagement.operations.list
Lists service operations that match the specified filter in the request.
google_servicemanagement.servicemanagement.operations.list({}, context)
Input
- input
object
- filter
string
: A string for filtering Operations. The following filter fields are supported: serviceName: Required. Only=
operator is allowed. startTime: The time this job was started, in ISO 8601 format. Allowed operators are>=
,>
,<=
, and<
. status: Can bedone
,in_progress
, orfailed
. Allowed operators are=
, and!=
. Filter expression supports conjunction (AND) and disjunction (OR) logical operators. However, the serviceName restriction must be at the top-level and can only be combined with other restrictions via the AND logical operator. Examples:serviceName={some-service}.googleapis.com
serviceName={some-service}.googleapis.com AND startTime>="2017-02-01"
serviceName={some-service}.googleapis.com AND status=done
*serviceName={some-service}.googleapis.com AND (status=done OR startTime>="2017-02-01")
- name
string
: Not used. - pageSize
integer
: The maximum number of operations to return. If unspecified, defaults to 50. The maximum value is 100. - pageToken
string
: The standard list page token. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- filter
Output
- output ListOperationsResponse
servicemanagement.services.list
Lists managed services. Returns all public services. For authenticated users, also returns all services the calling user has "servicemanagement.services.get" permission for. BETA: If the caller specifies the consumer_id
, it returns only the services enabled on the consumer. The consumer_id
must have the format of "project:{PROJECT-ID}".
google_servicemanagement.servicemanagement.services.list({}, context)
Input
- input
object
- consumerId
string
: Include services consumed by the specified consumer. The Google Service Management implementation accepts the following forms: - project: - pageSize
integer
: The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 100. - pageToken
string
: Token identifying which result to start with; returned by a previous list call. - producerProjectId
string
: Include services produced by the specified project. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- consumerId
Output
- output ListServicesResponse
servicemanagement.services.create
Creates a new managed service. A managed service is immutable, and is subject to mandatory 30-day data retention. You cannot move a service or recreate it within 30 days after deletion. One producer project can own no more than 500 services. For security and reliability purposes, a production service should be hosted in a dedicated producer project. Operation
google_servicemanagement.servicemanagement.services.create({}, context)
Input
- input
object
- body ManagedService
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
Output
- output Operation
servicemanagement.services.delete
Deletes a managed service. This method will change the service to the Soft-Delete
state for 30 days. Within this period, service producers may call UndeleteService to restore the service. After 30 days, the service will be permanently deleted. Operation
google_servicemanagement.servicemanagement.services.delete({
"serviceName": ""
}, context)
Input
- input
object
- serviceName required
string
: Required. The name of the service. See the overview for naming requirements. For example:example.googleapis.com
. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- serviceName required
Output
- output Operation
servicemanagement.services.get
Gets a managed service. Authentication is required unless the service is public.
google_servicemanagement.servicemanagement.services.get({
"serviceName": ""
}, context)
Input
- input
object
- serviceName required
string
: Required. The name of the service. See theServiceManager
overview for naming requirements. For example:example.googleapis.com
. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- serviceName required
Output
- output ManagedService
servicemanagement.services.getConfig
Gets a service configuration (version) for a managed service.
google_servicemanagement.servicemanagement.services.getConfig({
"serviceName": ""
}, context)
Input
- input
object
- serviceName required
string
: Required. The name of the service. See the overview for naming requirements. For example:example.googleapis.com
. - configId
string
: Required. The id of the service configuration resource. This field must be specified for the server to return all fields, includingSourceInfo
. - view
string
(values: BASIC, FULL): Specifies which parts of the Service Config should be returned in the response. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- serviceName required
Output
- output Service
servicemanagement.services.configs.list
Lists the history of the service configuration for a managed service, from the newest to the oldest.
google_servicemanagement.servicemanagement.services.configs.list({
"serviceName": ""
}, context)
Input
- input
object
- serviceName required
string
: Required. The name of the service. See the overview for naming requirements. For example:example.googleapis.com
. - pageSize
integer
: The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 100. - pageToken
string
: The token of the page to retrieve. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- serviceName required
Output
- output ListServiceConfigsResponse
servicemanagement.services.configs.create
Creates a new service configuration (version) for a managed service. This method only stores the service configuration. To roll out the service configuration to backend systems please call CreateServiceRollout. Only the 100 most recent service configurations and ones referenced by existing rollouts are kept for each service. The rest will be deleted eventually.
google_servicemanagement.servicemanagement.services.configs.create({
"serviceName": ""
}, context)
Input
- input
object
- serviceName required
string
: Required. The name of the service. See the overview for naming requirements. For example:example.googleapis.com
. - body Service
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- serviceName required
Output
- output Service
servicemanagement.services.configs.get
Gets a service configuration (version) for a managed service.
google_servicemanagement.servicemanagement.services.configs.get({
"serviceName": "",
"configId": ""
}, context)
Input
- input
object
- serviceName required
string
: Required. The name of the service. See the overview for naming requirements. For example:example.googleapis.com
. - configId required
string
: Required. The id of the service configuration resource. This field must be specified for the server to return all fields, includingSourceInfo
. - view
string
(values: BASIC, FULL): Specifies which parts of the Service Config should be returned in the response. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- serviceName required
Output
- output Service
servicemanagement.services.configs.submit
Creates a new service configuration (version) for a managed service based on user-supplied configuration source files (for example: OpenAPI Specification). This method stores the source configurations as well as the generated service configuration. To rollout the service configuration to other services, please call CreateServiceRollout. Only the 100 most recent configuration sources and ones referenced by existing service configurtions are kept for each service. The rest will be deleted eventually. Operation
google_servicemanagement.servicemanagement.services.configs.submit({
"serviceName": ""
}, context)
Input
- input
object
- serviceName required
string
: Required. The name of the service. See the overview for naming requirements. For example:example.googleapis.com
. - body SubmitConfigSourceRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- serviceName required
Output
- output Operation
servicemanagement.services.rollouts.list
Lists the history of the service configuration rollouts for a managed service, from the newest to the oldest.
google_servicemanagement.servicemanagement.services.rollouts.list({
"serviceName": ""
}, context)
Input
- input
object
- serviceName required
string
: Required. The name of the service. See the overview for naming requirements. For example:example.googleapis.com
. - filter
string
: Required. Usefilter
to return subset of rollouts. The following filters are supported: -- To limit the results to only those in status 'SUCCESS', use filter='status=SUCCESS' -- To limit the results to those in status 'CANCELLED' or 'FAILED', use filter='status=CANCELLED OR status=FAILED' - pageSize
integer
: The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 100. - pageToken
string
: The token of the page to retrieve. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- serviceName required
Output
- output ListServiceRolloutsResponse
servicemanagement.services.rollouts.create
Creates a new service configuration rollout. Based on rollout, the Google Service Management will roll out the service configurations to different backend services. For example, the logging configuration will be pushed to Google Cloud Logging. Please note that any previous pending and running Rollouts and associated Operations will be automatically cancelled so that the latest Rollout will not be blocked by previous Rollouts. Only the 100 most recent (in any state) and the last 10 successful (if not already part of the set of 100 most recent) rollouts are kept for each service. The rest will be deleted eventually. Operation
google_servicemanagement.servicemanagement.services.rollouts.create({
"serviceName": ""
}, context)
Input
- input
object
- serviceName required
string
: Required. The name of the service. See the overview for naming requirements. For example:example.googleapis.com
. - body Rollout
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- serviceName required
Output
- output Operation
servicemanagement.services.rollouts.get
Gets a service configuration rollout.
google_servicemanagement.servicemanagement.services.rollouts.get({
"serviceName": "",
"rolloutId": ""
}, context)
Input
- input
object
- serviceName required
string
: Required. The name of the service. See the overview for naming requirements. For example:example.googleapis.com
. - rolloutId required
string
: Required. The id of the rollout resource. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- serviceName required
Output
- output Rollout
servicemanagement.services.enable
Enables a service for a project, so it can be used for the project. See Cloud Auth Guide for more information. Operation
google_servicemanagement.servicemanagement.services.enable({
"serviceName": ""
}, context)
Input
- input
object
- serviceName required
string
: Required. Name of the service to enable. Specifying an unknown service name will cause the request to fail. - body EnableServiceRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- serviceName required
Output
- output Operation
servicemanagement.services.undelete
Revives a previously deleted managed service. The method restores the service using the configuration at the time the service was deleted. The target service must exist and must have been deleted within the last 30 days. Operation
google_servicemanagement.servicemanagement.services.undelete({
"serviceName": ""
}, context)
Input
- input
object
- serviceName required
string
: Required. The name of the service. See the overview for naming requirements. For example:example.googleapis.com
. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- serviceName required
Output
- output Operation
servicemanagement.services.generateConfigReport
Generates and returns a report (errors, warnings and changes from existing configurations) associated with GenerateConfigReportRequest.new_value If GenerateConfigReportRequest.old_value is specified, GenerateConfigReportRequest will contain a single ChangeReport based on the comparison between GenerateConfigReportRequest.new_value and GenerateConfigReportRequest.old_value. If GenerateConfigReportRequest.old_value is not specified, this method will compare GenerateConfigReportRequest.new_value with the last pushed service configuration.
google_servicemanagement.servicemanagement.services.generateConfigReport({}, context)
Input
- input
object
- body GenerateConfigReportRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
Output
- output GenerateConfigReportResponse
servicemanagement.operations.get
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
google_servicemanagement.servicemanagement.operations.get({
"name": ""
}, context)
Input
- input
object
- name required
string
: The name of the operation resource. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- name required
Output
- output Operation
servicemanagement.services.consumers.getIamPolicy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
google_servicemanagement.servicemanagement.services.consumers.getIamPolicy({
"resource": ""
}, context)
Input
- input
object
- resource required
string
: REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. - body GetIamPolicyRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- resource required
Output
- output Policy
servicemanagement.services.consumers.setIamPolicy
Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and PERMISSION_DENIED
errors.
google_servicemanagement.servicemanagement.services.consumers.setIamPolicy({
"resource": ""
}, context)
Input
- input
object
- resource required
string
: REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field. - body SetIamPolicyRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- resource required
Output
- output Policy
servicemanagement.services.consumers.testIamPermissions
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND
error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
google_servicemanagement.servicemanagement.services.consumers.testIamPermissions({
"resource": ""
}, context)
Input
- input
object
- resource required
string
: REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field. - body TestIamPermissionsRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- resource required
Output
- output TestIamPermissionsResponse
Definitions
Advice
- Advice
object
: Generated advice about this change, used for providing more information about how a change will affect the existing service.- description
string
: Useful description for why this advice was applied and what actions should be taken to mitigate any implied risks.
- description
Api
- Api
object
: Api is a light-weight descriptor for an API Interface. Interfaces are also described as "protocol buffer services" in some contexts, such as by the "service" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as "APIs" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology.- methods
array
: The methods of this interface, in unspecified order.- items Method
- mixins
array
: Included interfaces. See Mixin.- items Mixin
- name
string
: The fully qualified name of this interface, including package name followed by the interface's simple name. - options
array
: Any metadata attached to the interface.- items Option
- sourceContext SourceContext
- syntax
string
(values: SYNTAX_PROTO2, SYNTAX_PROTO3): The source syntax of the service. - version
string
: A version string for this interface. If specified, must have the formmajor-version.minor-version
, as in1.10
. If the minor version is omitted, it defaults to zero. If the entire version field is empty, the major version is derived from the package name, as outlined below. If the field is not empty, the version in the package name will be verified to be consistent with what is provided here. The versioning schema uses semantic versioning where the major version number indicates a breaking change and the minor version an additive, non-breaking change. Both version numbers are signals to users what to expect from different versions, and should be carefully chosen based on the product plan. The major version is also reflected in the package name of the interface, which must end inv
, as ingoogle.feature.v1
. For major versions 0 and 1, the suffix can be omitted. Zero major versions must only be used for experimental, non-GA interfaces.
- methods
AuditConfig
- AuditConfig
object
: Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for bothallServices
and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": "user:aliya@example.com" } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.- auditLogConfigs
array
: The configuration for logging of each type of permission.- items AuditLogConfig
- service
string
: Specifies a service that will be enabled for audit logging. For example,storage.googleapis.com
,cloudsql.googleapis.com
.allServices
is a special value that covers all services.
- auditLogConfigs
AuditLogConfig
- AuditLogConfig
object
: Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.- exemptedMembers
array
: Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.- items
string
- items
- logType
string
(values: LOG_TYPE_UNSPECIFIED, ADMIN_READ, DATA_WRITE, DATA_READ): The log type that this config enables.
- exemptedMembers
AuthProvider
- AuthProvider
object
: Configuration for an authentication provider, including support for JSON Web Token (JWT).- audiences
string
: The list of JWT audiences. that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, JWTs with audiences: - "https://[service.name]/[google.protobuf.Api.name]" - "https://[service.name]/" will be accepted. For example, if no audiences are in the setting, LibraryService API will accept JWTs with the following audiences: - https://library-example.googleapis.com/google.example.library.v1.LibraryService - https://library-example.googleapis.com/ Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com - authorizationUrl
string
: Redirect URL if JWT token is required but not present or is expired. Implement authorizationUrl of securityDefinitions in OpenAPI spec. - id
string
: The unique identifier of the auth provider. It will be referred to byAuthRequirement.provider_id
. Example: "bookstore_auth". - issuer
string
: Identifies the principal that issued the JWT. See https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email address. Example: https://securetoken.google.com Example: 1234567-compute@developer.gserviceaccount.com - jwksUri
string
: URL of the provider's public key set to validate signature of the JWT. See OpenID Discovery. Optional if the key set document: - can be retrieved from OpenID Discovery of the issuer. - can be inferred from the email domain of the issuer (e.g. a Google service account). Example: https://www.googleapis.com/oauth2/v1/certs - jwtLocations
array
: Defines the locations to extract the JWT. JWT locations can be either from HTTP headers or URL query parameters. The rule is that the first match wins. The checking order is: checking all headers first, then URL query parameters. If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion - query: access_token- items JwtLocation
- audiences
AuthRequirement
- AuthRequirement
object
: User-defined authentication requirements, including support for JSON Web Token (JWT).- audiences
string
: NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in all the runtime components. The list of JWT audiences. that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, only JWTs with audience "https://Service_name/API_name" will be accepted. For example, if no audiences are in the setting, LibraryService API will only accept JWTs with the following audience "https://library-example.googleapis.com/google.example.library.v1.LibraryService". Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com - providerId
string
: id from authentication provider. Example: provider_id: bookstore_auth
- audiences
Authentication
- Authentication
object
:Authentication
defines the authentication configuration for an API. Example for an API targeted for external use: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth- providers
array
: Defines a set of authentication providers that a service supports.- items AuthProvider
- rules
array
: A list of authentication rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order.- items AuthenticationRule
- providers
AuthenticationRule
- AuthenticationRule
object
: Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored.- allowWithoutCredential
boolean
: If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests. - oauth OAuthRequirements
- requirements
array
: Requirements for additional authentication providers.- items AuthRequirement
- selector
string
: Selects the methods to which this rule applies. Refer to selector for syntax details.
- allowWithoutCredential
Backend
- Backend
object
:Backend
defines the backend configuration for a service.- rules
array
: A list of API backend rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order.- items BackendRule
- rules
BackendRule
- BackendRule
object
: A backend rule provides configuration for an individual API element.- address
string
: The address of the API backend. The scheme is used to determine the backend protocol and security. The following schemes are accepted: SCHEME PROTOCOL SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC TLS It is recommended to explicitly include a scheme. Leaving out the scheme may cause constrasting behaviors across platforms. If the port is unspecified, the default is: - 80 for schemes without TLS - 443 for schemes with TLS For HTTP backends, use protocol to specify the protocol version. - deadline
number
: The number of seconds to wait for a response from a request. The default varies based on the request protocol and deployment environment. - disableAuth
boolean
: When disable_auth is true, a JWT ID token won't be generated and the original "Authorization" HTTP header will be preserved. If the header is used to carry the original token and is expected by the backend, this field must be set to true to preserve the header. - jwtAudience
string
: The JWT audience is used when generating a JWT ID token for the backend. This ID token will be added in the HTTP "authorization" header, and sent to the backend. - minDeadline
number
: Minimum deadline in seconds needed for this method. Calls having deadline value lower than this will be rejected. - operationDeadline
number
: The number of seconds to wait for the completion of a long running operation. The default is no deadline. - pathTranslation
string
(values: PATH_TRANSLATION_UNSPECIFIED, CONSTANT_ADDRESS, APPEND_PATH_TO_ADDRESS) - protocol
string
: The protocol used for sending a request to the backend. The supported values are "http/1.1" and "h2". The default value is inferred from the scheme in the address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2 grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this field to "h2" for improved performance. Configuring this field to non-default values is only supported for secure HTTP backends. This field will be ignored for all other backends. See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on the supported values. - selector
string
: Selects the methods to which this rule applies. Refer to selector for syntax details.
- address
Billing
- Billing
object
: Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing,consumer_destinations
is the only supported destination and the monitored resources need at least one label keycloud.googleapis.com/location
to indicate the location of the billing usage, using different monitored resources between monitoring and billing is recommended so they can be evolved independently: monitored_resources: - type: library.googleapis.com/billing_branch labels: - key: cloud.googleapis.com/location description: | Predefined label to support billing location restriction. - key: city description: | Custom label to define the city where the library branch is located in. - key: name description: Custom label to define the name of the library branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations: - monitored_resource: library.googleapis.com/billing_branch metrics: - library.googleapis.com/book/borrowed_count- consumerDestinations
array
: Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination.- items BillingDestination
- consumerDestinations
BillingDestination
- BillingDestination
object
: Configuration of a specific billing destination (Currently only support bill against consumer project).- metrics
array
: Names of the metrics to report to this billing destination. Each name must be defined in Service.metrics section.- items
string
- items
- monitoredResource
string
: The monitored resource type. The type must be defined in Service.monitored_resources section.
- metrics
Binding
- Binding
object
: Associatesmembers
with arole
.- condition Expr
- members
array
: Specifies the identities requesting access for a Cloud Platform resource.members
can have the following values:allUsers
: A special identifier that represents anyone who is on the internet; with or without a Google account.allAuthenticatedUsers
: A special identifier that represents anyone who is authenticated with a Google account or a service account.user:{emailid}
: An email address that represents a specific Google account. For example,alice@example.com
.serviceAccount:{emailid}
: An email address that represents a service account. For example,my-other-app@appspot.gserviceaccount.com
.group:{emailid}
: An email address that represents a Google group. For example,admins@example.com
.deleted:user:{emailid}?uid={uniqueid}
: An email address (plus unique identifier) representing a user that has been recently deleted. For example,alice@example.com?uid=123456789012345678901
. If the user is recovered, this value reverts touser:{emailid}
and the recovered user retains the role in the binding.deleted:serviceAccount:{emailid}?uid={uniqueid}
: An email address (plus unique identifier) representing a service account that has been recently deleted. For example,my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901
. If the service account is undeleted, this value reverts toserviceAccount:{emailid}
and the undeleted service account retains the role in the binding.deleted:group:{emailid}?uid={uniqueid}
: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example,admins@example.com?uid=123456789012345678901
. If the group is recovered, this value reverts togroup:{emailid}
and the recovered group retains the role in the binding. *domain:{domain}
: The G Suite domain (primary) that represents all the users of that domain. For example,google.com
orexample.com
.- items
string
- items
- role
string
: Role that is assigned tomembers
. For example,roles/viewer
,roles/editor
, orroles/owner
.
ChangeReport
- ChangeReport
object
: Change report associated with a particular service configuration. It contains a list of ConfigChanges based on the comparison between two service configurations.- configChanges
array
: List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rulesselector='LibraryService.CreateBook'.restriction- items ConfigChange
- configChanges
ConfigChange
- ConfigChange
object
: Output generated from semantically comparing two versions of a service configuration. Includes detailed information about a field that have changed with applicable advice about potential consequences for the change, such as backwards-incompatibility.- advices
array
: Collection of advice provided for this change, useful for determining the possible impact of this change.- items Advice
- changeType
string
(values: CHANGE_TYPE_UNSPECIFIED, ADDED, REMOVED, MODIFIED): The type for this change, either ADDED, REMOVED, or MODIFIED. - element
string
: Object hierarchy path to the change, with levels separated by a '.' character. For repeated fields, an applicable unique identifier field is used for the index (usually selector, name, or id). For maps, the term 'key' is used. If the field has no unique identifier, the numeric index is used. Examples: - visibility.rulesselector=="google.LibraryService.ListBooks".restriction - quota.metric_rulesselector=="google".metric_costskey=="reads".value - logging.producer_destinations0 - newValue
string
: Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED. - oldValue
string
: Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.
- advices
ConfigFile
- ConfigFile
object
: Generic specification of a source configuration file- fileContents
string
: The bytes that constitute the file. - filePath
string
: The file name of the configuration file (full or relative path). - fileType
string
(values: FILE_TYPE_UNSPECIFIED, SERVICE_CONFIG_YAML, OPEN_API_JSON, OPEN_API_YAML, FILE_DESCRIPTOR_SET_PROTO, PROTO_FILE): The type of configuration file this represents.
- fileContents
ConfigRef
- ConfigRef
object
: Represents a service configuration with its name and id.- name
string
: Resource name of a service config. It must have the following format: "services/{service name}/configs/{config id}".
- name
ConfigSource
- ConfigSource
object
: Represents a source file which is used to generate the service configuration defined bygoogle.api.Service
.- files
array
: Set of source configuration files that are used to generate a service configuration (google.api.Service
).- items ConfigFile
- id
string
: A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. If empty, the server may choose to generate one instead.
- files
Context
- Context
object
:Context
defines which contexts an API requests. Example: context: rules: - selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.context.OriginContext The above specifies that all methods in the API requestgoogle.rpc.context.ProjectContext
andgoogle.rpc.context.OriginContext
. Available context types are defined in packagegoogle.rpc.context
. This also provides mechanism to allowlist any protobuf message extension that can be sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format. For example, list any service specific protobuf types that can appear in grpc metadata as follows in your yaml file: Example: context: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allowed_request_extensions: - google.foo.v1.NewExtension allowed_response_extensions: - google.foo.v1.NewExtension You can also specify extension ID instead of fully qualified extension name here.- rules
array
: A list of RPC context rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order.- items ContextRule
- rules
ContextRule
- ContextRule
object
: A context rule provides information about the context for an individual API element.- allowedRequestExtensions
array
: A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.- items
string
- items
- allowedResponseExtensions
array
: A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.- items
string
- items
- provided
array
: A list of full type names of provided contexts.- items
string
- items
- requested
array
: A list of full type names of requested contexts.- items
string
- items
- selector
string
: Selects the methods to which this rule applies. Refer to selector for syntax details.
- allowedRequestExtensions
Control
- Control
object
: Selects and configures the service controller used by the service. The service controller handles features like abuse, quota, billing, logging, monitoring, etc.- environment
string
: The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled.
- environment
CustomError
- CustomError
object
: Customize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError- rules
array
: The list of custom error rules that apply to individual API messages. NOTE: All service configuration rules follow "last one wins" order.- items CustomErrorRule
- types
array
: The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.- items
string
- items
- rules
CustomErrorRule
- CustomErrorRule
object
: A custom error rule.- isErrorType
boolean
: Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload. - selector
string
: Selects messages to which this rule applies. Refer to selector for syntax details.
- isErrorType
CustomHttpPattern
- CustomHttpPattern
object
: A custom pattern is used for defining custom HTTP verb.- kind
string
: The name of this custom HTTP verb. - path
string
: The path matched by this custom verb.
- kind
DeleteServiceStrategy
- DeleteServiceStrategy
object
: Strategy used to delete a service. This strategy is a placeholder only used by the system generated rollout to delete a service.
Diagnostic
- Diagnostic
object
: Represents a diagnostic message (error or warning)- kind
string
(values: WARNING, ERROR): The kind of diagnostic information provided. - location
string
: File name and line number of the error or warning. - message
string
: Message describing the error or warning.
- kind
DisableServiceResponse
- DisableServiceResponse
object
: Operation payload for DisableService method.
Documentation
- Documentation
object
:Documentation
provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: fully.qualified.proto.name To override the display text used for the link, this can be used: display text Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. Theinclude
directive includes a markdown file from an external source: (== include path/to/file ==) Theresource_for
directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directivesuppress_warning
does not directly affect documentation and is documented together with service config validation.- documentationRootUrl
string
: The URL to the root of documentation. - overview
string
: Declares a single overview page. For example: documentation: summary: ... overview: (== include overview.md ==) This is a shortcut for the following declaration (using pages style): documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) Note: you cannot specify bothoverview
field andpages
field. - pages
array
: The top level pages for the documentation set.- items Page
- rules
array
: A list of documentation rules that apply to individual API elements. NOTE: All service configuration rules follow "last one wins" order.- items DocumentationRule
- serviceRootUrl
string
: Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to. - summary
string
: A short summary of what the service does. Can only be provided by plain text.
- documentationRootUrl
DocumentationRule
- DocumentationRule
object
: A documentation rule provides information about individual API elements.- deprecationDescription
string
: Deprecation description of the selected element(s). It can be provided if an element is marked asdeprecated
. - description
string
: Description of the selected API(s). - selector
string
: The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo." is ok, but not "foo.b" or "foo..bar". A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern "*" is used.
- deprecationDescription
EnableServiceRequest
- EnableServiceRequest
object
: Request message for EnableService method.- consumerId
string
: Required. The identity of consumer resource which service enablement will be applied to. The Google Service Management implementation accepts the following forms: - "project:" Note: this is made compatible with google.api.servicecontrol.v1.Operation.consumer_id.
- consumerId
EnableServiceResponse
- EnableServiceResponse
object
: Operation payload for EnableService method.
Endpoint
- Endpoint
object
:Endpoint
describes a network endpoint that serves a set of APIs. A service may expose any number of endpoints, and all endpoints share the same service configuration, such as quota configuration and monitoring configuration. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true- aliases
array
: DEPRECATED: This field is no longer supported. Instead of using aliases, please specify multiple google.api.Endpoint for each of the intended aliases. Additional names that this endpoint will be hosted on.- items
string
- items
- allowCors
boolean
: Allowing CORS, aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed. - name
string
: The canonical name of this endpoint. - target
string
: The specification of an Internet routable address of API frontend that will handle requests to this [API Endpoi
- aliases