| { |
| "discoveryVersion": "v1", |
| "schemas": { |
| "GetIamPolicyRequest": { |
| "id": "GetIamPolicyRequest", |
| "type": "object", |
| "description": "Request message for `GetIamPolicy` method.", |
| "properties": { |
| "options": { |
| "$ref": "GetPolicyOptions", |
| "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." |
| } |
| } |
| }, |
| "ListEndpointsResponse": { |
| "description": "The response message for RegistrationService.ListEndpoints.", |
| "id": "ListEndpointsResponse", |
| "properties": { |
| "nextPageToken": { |
| "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", |
| "type": "string" |
| }, |
| "endpoints": { |
| "type": "array", |
| "items": { |
| "$ref": "Endpoint" |
| }, |
| "description": "The list of endpoints." |
| } |
| }, |
| "type": "object" |
| }, |
| "ResolveServiceResponse": { |
| "description": "The response message for LookupService.ResolveService.", |
| "id": "ResolveServiceResponse", |
| "properties": { |
| "service": { |
| "$ref": "Service" |
| } |
| }, |
| "type": "object" |
| }, |
| "ListNamespacesResponse": { |
| "properties": { |
| "nextPageToken": { |
| "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", |
| "type": "string" |
| }, |
| "namespaces": { |
| "type": "array", |
| "items": { |
| "$ref": "Namespace" |
| }, |
| "description": "The list of namespaces." |
| } |
| }, |
| "id": "ListNamespacesResponse", |
| "type": "object", |
| "description": "The response message for RegistrationService.ListNamespaces." |
| }, |
| "Binding": { |
| "properties": { |
| "members": { |
| "items": { |
| "type": "string" |
| }, |
| "description": "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, `[email protected]` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `[email protected]`. * `group:{emailid}`: An email address that represents a Google group. For example, `[email protected]`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{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, `[email protected]?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{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, `[email protected]?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{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` or `example.com`. ", |
| "type": "array" |
| }, |
| "condition": { |
| "$ref": "Expr", |
| "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." |
| }, |
| "role": { |
| "description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", |
| "type": "string" |
| } |
| }, |
| "type": "object", |
| "description": "Associates `members` with a `role`.", |
| "id": "Binding" |
| }, |
| "Policy": { |
| "type": "object", |
| "properties": { |
| "version": { |
| "type": "integer", |
| "format": "int32", |
| "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." |
| }, |
| "etag": { |
| "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", |
| "format": "byte", |
| "type": "string" |
| }, |
| "bindings": { |
| "type": "array", |
| "description": "Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member.", |
| "items": { |
| "$ref": "Binding" |
| } |
| } |
| }, |
| "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:[email protected]\", \"group:[email protected]\", \"domain:google.com\", \"serviceAccount:[email protected]\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:[email protected]\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", |
| "id": "Policy" |
| }, |
| "Namespace": { |
| "type": "object", |
| "description": "A container for services. Namespaces allow administrators to group services together and define permissions for a collection of services.", |
| "properties": { |
| "labels": { |
| "description": "Optional. Resource labels associated with this Namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters.", |
| "additionalProperties": { |
| "type": "string" |
| }, |
| "type": "object" |
| }, |
| "name": { |
| "type": "string", |
| "description": "Immutable. The resource name for the namespace in the format 'projects/*/locations/*/namespaces/*'." |
| } |
| }, |
| "id": "Namespace" |
| }, |
| "GetPolicyOptions": { |
| "description": "Encapsulates settings provided to GetIamPolicy.", |
| "type": "object", |
| "properties": { |
| "requestedPolicyVersion": { |
| "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", |
| "type": "integer", |
| "format": "int32" |
| } |
| }, |
| "id": "GetPolicyOptions" |
| }, |
| "SetIamPolicyRequest": { |
| "properties": { |
| "policy": { |
| "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.", |
| "$ref": "Policy" |
| } |
| }, |
| "description": "Request message for `SetIamPolicy` method.", |
| "id": "SetIamPolicyRequest", |
| "type": "object" |
| }, |
| "Empty": { |
| "type": "object", |
| "id": "Empty", |
| "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", |
| "properties": {} |
| }, |
| "TestIamPermissionsRequest": { |
| "id": "TestIamPermissionsRequest", |
| "description": "Request message for `TestIamPermissions` method.", |
| "type": "object", |
| "properties": { |
| "permissions": { |
| "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", |
| "items": { |
| "type": "string" |
| }, |
| "type": "array" |
| } |
| } |
| }, |
| "Endpoint": { |
| "description": "An individual endpoint that provides a service. The service must already exist to create an endpoint.", |
| "id": "Endpoint", |
| "properties": { |
| "address": { |
| "description": "Optional. An IPv4 or IPv6 address. Service Directory will reject bad addresses like: \"8.8.8\" \"8.8.8.8:53\" \"test:bad:address\" \"[::1]\" \"[::1]:8080\" Limited to 45 characters.", |
| "type": "string" |
| }, |
| "name": { |
| "type": "string", |
| "description": "Immutable. The resource name for the endpoint in the format 'projects/*/locations/*/namespaces/*/services/*/endpoints/*'." |
| }, |
| "port": { |
| "description": "Optional. Service Directory will reject values outside of [0, 65535].", |
| "format": "int32", |
| "type": "integer" |
| }, |
| "metadata": { |
| "additionalProperties": { |
| "type": "string" |
| }, |
| "description": "Optional. Metadata for the endpoint. This data can be consumed by service clients. Restrictions: - The entire metadata dictionary may contain up to 512 characters, spread accoss all key-value pairs. Metadata that goes beyond any these limits will be rejected. - Valid metadata keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Metadata that fails to meet these requirements will be rejected. - The '(*.)google.com/' and '(*.)googleapis.com/' prefixes are reserved for system metadata managed by Service Directory. If the user tries to write to these keyspaces, those entries will be silently ignored by the system.", |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "Location": { |
| "description": "A resource that represents Google Cloud Platform location.", |
| "type": "object", |
| "properties": { |
| "name": { |
| "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", |
| "type": "string" |
| }, |
| "metadata": { |
| "description": "Service-specific metadata. For example the available capacity at the given location.", |
| "type": "object", |
| "additionalProperties": { |
| "type": "any", |
| "description": "Properties of the object. Contains field @type with type URL." |
| } |
| }, |
| "locationId": { |
| "description": "The canonical id for this location. For example: `\"us-east1\"`.", |
| "type": "string" |
| }, |
| "displayName": { |
| "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", |
| "type": "string" |
| }, |
| "labels": { |
| "type": "object", |
| "additionalProperties": { |
| "type": "string" |
| }, |
| "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}" |
| } |
| }, |
| "id": "Location" |
| }, |
| "ListServicesResponse": { |
| "description": "The response message for RegistrationService.ListServices.", |
| "id": "ListServicesResponse", |
| "properties": { |
| "nextPageToken": { |
| "type": "string", |
| "description": "Token to retrieve the next page of results, or empty if there are no more results in the list." |
| }, |
| "services": { |
| "type": "array", |
| "items": { |
| "$ref": "Service" |
| }, |
| "description": "The list of services." |
| } |
| }, |
| "type": "object" |
| }, |
| "Service": { |
| "description": "An individual service. A service contains a name and optional metadata. A service must exist before endpoints can be added to it.", |
| "properties": { |
| "name": { |
| "type": "string", |
| "description": "Immutable. The resource name for the service in the format 'projects/*/locations/*/namespaces/*/services/*'." |
| }, |
| "endpoints": { |
| "description": "Output only. Endpoints associated with this service. Returned on LookupService.Resolve. Control plane clients should use RegistrationService.ListEndpoints.", |
| "type": "array", |
| "items": { |
| "$ref": "Endpoint" |
| }, |
| "readOnly": true |
| }, |
| "metadata": { |
| "description": "Optional. Metadata for the service. This data can be consumed by service clients. Restrictions: - The entire metadata dictionary may contain up to 2000 characters, spread accoss all key-value pairs. Metadata that goes beyond any these limits will be rejected. - Valid metadata keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Metadata that fails to meet these requirements will be rejected. - The '(*.)google.com/' and '(*.)googleapis.com/' prefixes are reserved for system metadata managed by Service Directory. If the user tries to write to these keyspaces, those entries will be silently ignored by the system.", |
| "additionalProperties": { |
| "type": "string" |
| }, |
| "type": "object" |
| } |
| }, |
| "id": "Service", |
| "type": "object" |
| }, |
| "ResolveServiceRequest": { |
| "id": "ResolveServiceRequest", |
| "type": "object", |
| "description": "The request message for LookupService.ResolveService. Looks up a service by its name, returns the service and its endpoints.", |
| "properties": { |
| "endpointFilter": { |
| "type": "string", |
| "description": "Optional. The filter applied to the endpoints of the resolved service. General filter string syntax: () can be \"name\" or \"metadata.\" for map field. can be \"\u003c, \u003e, \u003c=, \u003e=, !=, =, :\". Of which \":\" means HAS and is roughly the same as \"=\". must be the same data type as the field. can be \"AND, OR, NOT\". Examples of valid filters: * \"metadata.owner\" returns Endpoints that have a label with the key \"owner\", this is the same as \"metadata:owner\" * \"metadata.protocol=gRPC\" returns Endpoints that have key/value \"protocol=gRPC\" * \"metadata.owner!=sd AND metadata.foo=bar\" returns Endpoints that have \"owner\" field in metadata with a value that is not \"sd\" AND have the key/value foo=bar." |
| }, |
| "maxEndpoints": { |
| "description": "Optional. The maximum number of endpoints to return. Defaults to 25. Maximum is 100. If a value less than one is specified, the Default is used. If a value greater than the Maximum is specified, the Maximum is used.", |
| "format": "int32", |
| "type": "integer" |
| } |
| } |
| }, |
| "Expr": { |
| "type": "object", |
| "id": "Expr", |
| "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() \u003c 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", |
| "properties": { |
| "location": { |
| "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", |
| "type": "string" |
| }, |
| "title": { |
| "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", |
| "type": "string" |
| }, |
| "description": { |
| "type": "string", |
| "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI." |
| }, |
| "expression": { |
| "type": "string", |
| "description": "Textual representation of an expression in Common Expression Language syntax." |
| } |
| } |
| }, |
| "ListLocationsResponse": { |
| "description": "The response message for Locations.ListLocations.", |
| "id": "ListLocationsResponse", |
| "type": "object", |
| "properties": { |
| "nextPageToken": { |
| "description": "The standard List next-page token.", |
| "type": "string" |
| }, |
| "locations": { |
| "description": "A list of locations that matches the specified filter in the request.", |
| "items": { |
| "$ref": "Location" |
| }, |
| "type": "array" |
| } |
| } |
| }, |
| "TestIamPermissionsResponse": { |
| "properties": { |
| "permissions": { |
| "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", |
| "type": "array", |
| "items": { |
| "type": "string" |
| } |
| } |
| }, |
| "id": "TestIamPermissionsResponse", |
| "type": "object", |
| "description": "Response message for `TestIamPermissions` method." |
| } |
| }, |
| "ownerDomain": "google.com", |
| "parameters": { |
| "access_token": { |
| "description": "OAuth access token.", |
| "location": "query", |
| "type": "string" |
| }, |
| "fields": { |
| "type": "string", |
| "location": "query", |
| "description": "Selector specifying which fields to include in a partial response." |
| }, |
| "quotaUser": { |
| "type": "string", |
| "description": "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.", |
| "location": "query" |
| }, |
| "callback": { |
| "description": "JSONP", |
| "type": "string", |
| "location": "query" |
| }, |
| "$.xgafv": { |
| "type": "string", |
| "description": "V1 error format.", |
| "enum": [ |
| "1", |
| "2" |
| ], |
| "location": "query", |
| "enumDescriptions": [ |
| "v1 error format", |
| "v2 error format" |
| ] |
| }, |
| "uploadType": { |
| "type": "string", |
| "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
| "location": "query" |
| }, |
| "upload_protocol": { |
| "type": "string", |
| "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
| "location": "query" |
| }, |
| "prettyPrint": { |
| "type": "boolean", |
| "location": "query", |
| "default": "true", |
| "description": "Returns response with indentations and line breaks." |
| }, |
| "oauth_token": { |
| "type": "string", |
| "description": "OAuth 2.0 token for the current user.", |
| "location": "query" |
| }, |
| "alt": { |
| "description": "Data format for response.", |
| "enumDescriptions": [ |
| "Responses with Content-Type of application/json", |
| "Media download with context-dependent Content-Type", |
| "Responses with Content-Type of application/x-protobuf" |
| ], |
| "location": "query", |
| "type": "string", |
| "default": "json", |
| "enum": [ |
| "json", |
| "media", |
| "proto" |
| ] |
| }, |
| "key": { |
| "type": "string", |
| "description": "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.", |
| "location": "query" |
| } |
| }, |
| "servicePath": "", |
| "version": "v1beta1", |
| "resources": { |
| "projects": { |
| "resources": { |
| "locations": { |
| "resources": { |
| "namespaces": { |
| "methods": { |
| "create": { |
| "path": "v1beta1/{+parent}/namespaces", |
| "httpMethod": "POST", |
| "request": { |
| "$ref": "Namespace" |
| }, |
| "parameters": { |
| "parent": { |
| "required": true, |
| "location": "path", |
| "type": "string", |
| "description": "Required. The resource name of the project and location the namespace will be created in.", |
| "pattern": "^projects/[^/]+/locations/[^/]+$" |
| }, |
| "namespaceId": { |
| "type": "string", |
| "location": "query", |
| "description": "Required. The Resource ID must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash." |
| } |
| }, |
| "description": "Creates a namespace, and returns the new Namespace.", |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "response": { |
| "$ref": "Namespace" |
| }, |
| "id": "servicedirectory.projects.locations.namespaces.create", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ] |
| }, |
| "list": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v1beta1/{+parent}/namespaces", |
| "parameters": { |
| "orderBy": { |
| "location": "query", |
| "description": "Optional. The order to list result by. General order by string syntax: () (,) allows values {\"name\"} ascending or descending order by . If this is left blank, \"asc\" is used. Note that an empty order_by string result in default order, which is order by name in ascending order.", |
| "type": "string" |
| }, |
| "pageToken": { |
| "type": "string", |
| "description": "Optional. The next_page_token value returned from a previous List request, if any.", |
| "location": "query" |
| }, |
| "filter": { |
| "type": "string", |
| "description": "Optional. The filter to list result by. General filter string syntax: () can be \"name\", or \"labels.\" for map field. can be \"\u003c, \u003e, \u003c=, \u003e=, !=, =, :\". Of which \":\" means HAS, and is roughly the same as \"=\". must be the same data type as field. can be \"AND, OR, NOT\". Examples of valid filters: * \"labels.owner\" returns Namespaces that have a label with the key \"owner\" this is the same as \"labels:owner\". * \"labels.protocol=gRPC\" returns Namespaces that have key/value \"protocol=gRPC\". * \"name\u003eprojects/my-project/locations/us-east/namespaces/namespace-c\" returns Namespaces that have name that is alphabetically later than the string, so \"namespace-e\" will be returned but \"namespace-a\" will not be. * \"labels.owner!=sd AND labels.foo=bar\" returns Namespaces that have \"owner\" in label key but value is not \"sd\" AND have key/value foo=bar. * \"doesnotexist.foo=bar\" returns an empty list. Note that Namespace doesn't have a field called \"doesnotexist\". Since the filter does not match any Namespaces, it returns no results.", |
| "location": "query" |
| }, |
| "parent": { |
| "location": "path", |
| "description": "Required. The resource name of the project and location whose namespaces we'd like to list.", |
| "type": "string", |
| "required": true, |
| "pattern": "^projects/[^/]+/locations/[^/]+$" |
| }, |
| "pageSize": { |
| "description": "Optional. The maximum number of items to return.", |
| "location": "query", |
| "format": "int32", |
| "type": "integer" |
| } |
| }, |
| "httpMethod": "GET", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "response": { |
| "$ref": "ListNamespacesResponse" |
| }, |
| "description": "Lists all namespaces.", |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces", |
| "id": "servicedirectory.projects.locations.namespaces.list" |
| }, |
| "patch": { |
| "parameterOrder": [ |
| "name" |
| ], |
| "request": { |
| "$ref": "Namespace" |
| }, |
| "path": "v1beta1/{+name}", |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}", |
| "response": { |
| "$ref": "Namespace" |
| }, |
| "httpMethod": "PATCH", |
| "parameters": { |
| "updateMask": { |
| "type": "string", |
| "description": "Required. List of fields to be updated in this request.", |
| "format": "google-fieldmask", |
| "location": "query" |
| }, |
| "name": { |
| "type": "string", |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+$", |
| "required": true, |
| "location": "path", |
| "description": "Immutable. The resource name for the namespace in the format 'projects/*/locations/*/namespaces/*'." |
| } |
| }, |
| "id": "servicedirectory.projects.locations.namespaces.patch", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Updates a namespace." |
| }, |
| "get": { |
| "response": { |
| "$ref": "Namespace" |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}", |
| "path": "v1beta1/{+name}", |
| "parameters": { |
| "name": { |
| "required": true, |
| "description": "Required. The name of the namespace to retrieve.", |
| "location": "path", |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+$", |
| "type": "string" |
| } |
| }, |
| "description": "Gets a namespace.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "id": "servicedirectory.projects.locations.namespaces.get", |
| "httpMethod": "GET", |
| "parameterOrder": [ |
| "name" |
| ] |
| }, |
| "getIamPolicy": { |
| "httpMethod": "POST", |
| "parameterOrder": [ |
| "resource" |
| ], |
| "response": { |
| "$ref": "Policy" |
| }, |
| "parameters": { |
| "resource": { |
| "type": "string", |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+$", |
| "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", |
| "location": "path", |
| "required": true |
| } |
| }, |
| "path": "v1beta1/{+resource}:getIamPolicy", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Gets the IAM Policy for a resource (namespace or service only).", |
| "request": { |
| "$ref": "GetIamPolicyRequest" |
| }, |
| "id": "servicedirectory.projects.locations.namespaces.getIamPolicy", |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}:getIamPolicy" |
| }, |
| "testIamPermissions": { |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}:testIamPermissions", |
| "description": "Tests IAM permissions for a resource (namespace or service only).", |
| "id": "servicedirectory.projects.locations.namespaces.testIamPermissions", |
| "response": { |
| "$ref": "TestIamPermissionsResponse" |
| }, |
| "httpMethod": "POST", |
| "request": { |
| "$ref": "TestIamPermissionsRequest" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameters": { |
| "resource": { |
| "required": true, |
| "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", |
| "location": "path", |
| "type": "string", |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+$" |
| } |
| }, |
| "path": "v1beta1/{+resource}:testIamPermissions", |
| "parameterOrder": [ |
| "resource" |
| ] |
| }, |
| "delete": { |
| "id": "servicedirectory.projects.locations.namespaces.delete", |
| "parameterOrder": [ |
| "name" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Deletes a namespace. This also deletes all services and endpoints in the namespace.", |
| "path": "v1beta1/{+name}", |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}", |
| "response": { |
| "$ref": "Empty" |
| }, |
| "httpMethod": "DELETE", |
| "parameters": { |
| "name": { |
| "required": true, |
| "location": "path", |
| "description": "Required. The name of the namespace to delete.", |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+$", |
| "type": "string" |
| } |
| } |
| }, |
| "setIamPolicy": { |
| "description": "Sets the IAM Policy for a resource (namespace or service only).", |
| "id": "servicedirectory.projects.locations.namespaces.setIamPolicy", |
| "parameters": { |
| "resource": { |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+$", |
| "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", |
| "location": "path", |
| "type": "string", |
| "required": true |
| } |
| }, |
| "response": { |
| "$ref": "Policy" |
| }, |
| "request": { |
| "$ref": "SetIamPolicyRequest" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v1beta1/{+resource}:setIamPolicy", |
| "httpMethod": "POST", |
| "parameterOrder": [ |
| "resource" |
| ], |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}:setIamPolicy" |
| } |
| }, |
| "resources": { |
| "services": { |
| "resources": { |
| "endpoints": { |
| "methods": { |
| "get": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameterOrder": [ |
| "name" |
| ], |
| "response": { |
| "$ref": "Endpoint" |
| }, |
| "parameters": { |
| "name": { |
| "location": "path", |
| "description": "Required. The name of the endpoint to get.", |
| "required": true, |
| "type": "string", |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+/endpoints/[^/]+$" |
| } |
| }, |
| "id": "servicedirectory.projects.locations.namespaces.services.endpoints.get", |
| "httpMethod": "GET", |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}/endpoints/{endpointsId}", |
| "description": "Gets a endpoint.", |
| "path": "v1beta1/{+name}" |
| }, |
| "delete": { |
| "parameters": { |
| "name": { |
| "type": "string", |
| "required": true, |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+/endpoints/[^/]+$", |
| "location": "path", |
| "description": "Required. The name of the endpoint to delete." |
| } |
| }, |
| "httpMethod": "DELETE", |
| "response": { |
| "$ref": "Empty" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameterOrder": [ |
| "name" |
| ], |
| "path": "v1beta1/{+name}", |
| "id": "servicedirectory.projects.locations.namespaces.services.endpoints.delete", |
| "description": "Deletes a endpoint.", |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}/endpoints/{endpointsId}" |
| }, |
| "list": { |
| "response": { |
| "$ref": "ListEndpointsResponse" |
| }, |
| "description": "Lists all endpoints.", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "id": "servicedirectory.projects.locations.namespaces.services.endpoints.list", |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}/endpoints", |
| "httpMethod": "GET", |
| "path": "v1beta1/{+parent}/endpoints", |
| "parameters": { |
| "filter": { |
| "description": "Optional. The filter to list result by. General filter string syntax: () can be \"name\", \"address\", \"port\" or \"metadata.\" for map field. can be \"\u003c, \u003e, \u003c=, \u003e=, !=, =, :\". Of which \":\" means HAS, and is roughly the same as \"=\". must be the same data type as field. can be \"AND, OR, NOT\". Examples of valid filters: * \"metadata.owner\" returns Endpoints that have a label with the key \"owner\" this is the same as \"metadata:owner\". * \"metadata.protocol=gRPC\" returns Endpoints that have key/value \"protocol=gRPC\". * \"address=192.108.1.105\" returns Endpoints that have this address. * \"port\u003e8080\" returns Endpoints that have port number larger than 8080. * \"name\u003eprojects/my-project/locations/us-east/namespaces/my-namespace/services/my-service/endpoints/endpoint-c\" returns Endpoints that have name that is alphabetically later than the string, so \"endpoint-e\" will be returned but \"endpoint-a\" will not be. * \"metadata.owner!=sd AND metadata.foo=bar\" returns Endpoints that have \"owner\" in label key but value is not \"sd\" AND have key/value foo=bar. * \"doesnotexist.foo=bar\" returns an empty list. Note that Endpoint doesn't have a field called \"doesnotexist\". Since the filter does not match any Endpoints, it returns no results.", |
| "type": "string", |
| "location": "query" |
| }, |
| "pageToken": { |
| "type": "string", |
| "description": "Optional. The next_page_token value returned from a previous List request, if any.", |
| "location": "query" |
| }, |
| "pageSize": { |
| "type": "integer", |
| "location": "query", |
| "format": "int32", |
| "description": "Optional. The maximum number of items to return." |
| }, |
| "orderBy": { |
| "location": "query", |
| "description": "Optional. The order to list result by.", |
| "type": "string" |
| }, |
| "parent": { |
| "required": true, |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+$", |
| "description": "Required. The resource name of the service whose endpoints we'd like to list.", |
| "location": "path", |
| "type": "string" |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ] |
| }, |
| "patch": { |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}/endpoints/{endpointsId}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "Endpoint" |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "parameters": { |
| "updateMask": { |
| "type": "string", |
| "location": "query", |
| "format": "google-fieldmask", |
| "description": "Required. List of fields to be updated in this request." |
| }, |
| "name": { |
| "required": true, |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+/endpoints/[^/]+$", |
| "description": "Immutable. The resource name for the endpoint in the format 'projects/*/locations/*/namespaces/*/services/*/endpoints/*'.", |
| "location": "path", |
| "type": "string" |
| } |
| }, |
| "httpMethod": "PATCH", |
| "request": { |
| "$ref": "Endpoint" |
| }, |
| "description": "Updates a endpoint.", |
| "path": "v1beta1/{+name}", |
| "id": "servicedirectory.projects.locations.namespaces.services.endpoints.patch" |
| }, |
| "create": { |
| "parameterOrder": [ |
| "parent" |
| ], |
| "id": "servicedirectory.projects.locations.namespaces.services.endpoints.create", |
| "request": { |
| "$ref": "Endpoint" |
| }, |
| "response": { |
| "$ref": "Endpoint" |
| }, |
| "description": "Creates a endpoint, and returns the new Endpoint.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}/endpoints", |
| "httpMethod": "POST", |
| "path": "v1beta1/{+parent}/endpoints", |
| "parameters": { |
| "endpointId": { |
| "description": "Required. The Resource ID must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", |
| "location": "query", |
| "type": "string" |
| }, |
| "parent": { |
| "description": "Required. The resource name of the service that this endpoint provides.", |
| "type": "string", |
| "required": true, |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+$", |
| "location": "path" |
| } |
| } |
| } |
| } |
| } |
| }, |
| "methods": { |
| "patch": { |
| "response": { |
| "$ref": "Service" |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "request": { |
| "$ref": "Service" |
| }, |
| "id": "servicedirectory.projects.locations.namespaces.services.patch", |
| "path": "v1beta1/{+name}", |
| "description": "Updates a service.", |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}", |
| "parameters": { |
| "updateMask": { |
| "format": "google-fieldmask", |
| "description": "Required. List of fields to be updated in this request.", |
| "type": "string", |
| "location": "query" |
| }, |
| "name": { |
| "type": "string", |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+$", |
| "required": true, |
| "description": "Immutable. The resource name for the service in the format 'projects/*/locations/*/namespaces/*/services/*'.", |
| "location": "path" |
| } |
| }, |
| "httpMethod": "PATCH", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ] |
| }, |
| "get": { |
| "description": "Gets a service.", |
| "response": { |
| "$ref": "Service" |
| }, |
| "parameters": { |
| "name": { |
| "location": "path", |
| "description": "Required. The name of the service to get.", |
| "type": "string", |
| "required": true, |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+$" |
| } |
| }, |
| "path": "v1beta1/{+name}", |
| "id": "servicedirectory.projects.locations.namespaces.services.get", |
| "httpMethod": "GET", |
| "parameterOrder": [ |
| "name" |
| ], |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ] |
| }, |
| "create": { |
| "path": "v1beta1/{+parent}/services", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "response": { |
| "$ref": "Service" |
| }, |
| "id": "servicedirectory.projects.locations.namespaces.services.create", |
| "description": "Creates a service, and returns the new Service.", |
| "request": { |
| "$ref": "Service" |
| }, |
| "httpMethod": "POST", |
| "parameters": { |
| "serviceId": { |
| "description": "Required. The Resource ID must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", |
| "location": "query", |
| "type": "string" |
| }, |
| "parent": { |
| "required": true, |
| "type": "string", |
| "description": "Required. The resource name of the namespace this service will belong to.", |
| "location": "path", |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+$" |
| } |
| } |
| }, |
| "resolve": { |
| "parameters": { |
| "name": { |
| "required": true, |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+$", |
| "description": "Required. The name of the service to resolve.", |
| "type": "string", |
| "location": "path" |
| } |
| }, |
| "response": { |
| "$ref": "ResolveServiceResponse" |
| }, |
| "id": "servicedirectory.projects.locations.namespaces.services.resolve", |
| "description": "Returns a service and its associated endpoints. Resolving a service is not considered an active developer method.", |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}:resolve", |
| "parameterOrder": [ |
| "name" |
| ], |
| "path": "v1beta1/{+name}:resolve", |
| "httpMethod": "POST", |
| "request": { |
| "$ref": "ResolveServiceRequest" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ] |
| }, |
| "list": { |
| "response": { |
| "$ref": "ListServicesResponse" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Lists all services belonging to a namespace.", |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services", |
| "httpMethod": "GET", |
| "path": "v1beta1/{+parent}/services", |
| "id": "servicedirectory.projects.locations.namespaces.services.list", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "parameters": { |
| "filter": { |
| "type": "string", |
| "location": "query", |
| "description": "Optional. The filter to list result by. General filter string syntax: () can be \"name\", or \"metadata.\" for map field. can be \"\u003c, \u003e, \u003c=, \u003e=, !=, =, :\". Of which \":\" means HAS, and is roughly the same as \"=\". must be the same data type as field. can be \"AND, OR, NOT\". Examples of valid filters: * \"metadata.owner\" returns Services that have a label with the key \"owner\" this is the same as \"metadata:owner\". * \"metadata.protocol=gRPC\" returns Services that have key/value \"protocol=gRPC\". * \"name\u003eprojects/my-project/locations/us-east/namespaces/my-namespace/services/service-c\" returns Services that have name that is alphabetically later than the string, so \"service-e\" will be returned but \"service-a\" will not be. * \"metadata.owner!=sd AND metadata.foo=bar\" returns Services that have \"owner\" in label key but value is not \"sd\" AND have key/value foo=bar. * \"doesnotexist.foo=bar\" returns an empty list. Note that Service doesn't have a field called \"doesnotexist\". Since the filter does not match any Services, it returns no results." |
| }, |
| "orderBy": { |
| "type": "string", |
| "description": "Optional. The order to list result by.", |
| "location": "query" |
| }, |
| "parent": { |
| "required": true, |
| "description": "Required. The resource name of the namespace whose services we'd like to list.", |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+$", |
| "type": "string", |
| "location": "path" |
| }, |
| "pageToken": { |
| "type": "string", |
| "description": "Optional. The next_page_token value returned from a previous List request, if any.", |
| "location": "query" |
| }, |
| "pageSize": { |
| "format": "int32", |
| "location": "query", |
| "description": "Optional. The maximum number of items to return.", |
| "type": "integer" |
| } |
| } |
| }, |
| "setIamPolicy": { |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}:setIamPolicy", |
| "path": "v1beta1/{+resource}:setIamPolicy", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "httpMethod": "POST", |
| "response": { |
| "$ref": "Policy" |
| }, |
| "description": "Sets the IAM Policy for a resource (namespace or service only).", |
| "parameterOrder": [ |
| "resource" |
| ], |
| "id": "servicedirectory.projects.locations.namespaces.services.setIamPolicy", |
| "request": { |
| "$ref": "SetIamPolicyRequest" |
| }, |
| "parameters": { |
| "resource": { |
| "location": "path", |
| "required": true, |
| "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+$", |
| "type": "string" |
| } |
| } |
| }, |
| "delete": { |
| "description": "Deletes a service. This also deletes all endpoints associated with the service.", |
| "id": "servicedirectory.projects.locations.namespaces.services.delete", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "Empty" |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "path": "v1beta1/{+name}", |
| "httpMethod": "DELETE", |
| "parameters": { |
| "name": { |
| "location": "path", |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+$", |
| "type": "string", |
| "description": "Required. The name of the service to delete.", |
| "required": true |
| } |
| } |
| }, |
| "testIamPermissions": { |
| "description": "Tests IAM permissions for a resource (namespace or service only).", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "id": "servicedirectory.projects.locations.namespaces.services.testIamPermissions", |
| "httpMethod": "POST", |
| "path": "v1beta1/{+resource}:testIamPermissions", |
| "response": { |
| "$ref": "TestIamPermissionsResponse" |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}:testIamPermissions", |
| "request": { |
| "$ref": "TestIamPermissionsRequest" |
| }, |
| "parameters": { |
| "resource": { |
| "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", |
| "location": "path", |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+$", |
| "required": true, |
| "type": "string" |
| } |
| }, |
| "parameterOrder": [ |
| "resource" |
| ] |
| }, |
| "getIamPolicy": { |
| "request": { |
| "$ref": "GetIamPolicyRequest" |
| }, |
| "parameterOrder": [ |
| "resource" |
| ], |
| "description": "Gets the IAM Policy for a resource (namespace or service only).", |
| "response": { |
| "$ref": "Policy" |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}:getIamPolicy", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameters": { |
| "resource": { |
| "pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+$", |
| "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", |
| "required": true, |
| "type": "string", |
| "location": "path" |
| } |
| }, |
| "path": "v1beta1/{+resource}:getIamPolicy", |
| "httpMethod": "POST", |
| "id": "servicedirectory.projects.locations.namespaces.services.getIamPolicy" |
| } |
| } |
| } |
| } |
| } |
| }, |
| "methods": { |
| "get": { |
| "response": { |
| "$ref": "Location" |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "httpMethod": "GET", |
| "path": "v1beta1/{+name}", |
| "id": "servicedirectory.projects.locations.get", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameters": { |
| "name": { |
| "required": true, |
| "description": "Resource name for the location.", |
| "location": "path", |
| "pattern": "^projects/[^/]+/locations/[^/]+$", |
| "type": "string" |
| } |
| }, |
| "description": "Gets information about a location.", |
| "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}" |
| }, |
| "list": { |
| "flatPath": "v1beta1/projects/{projectsId}/locations", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameters": { |
| "filter": { |
| "type": "string", |
| "location": "query", |
| "description": "The standard list filter." |
| }, |
| "name": { |
| "type": "string", |
| "required": true, |
| "description": "The resource that owns the locations collection, if applicable.", |
| "pattern": "^projects/[^/]+$", |
| "location": "path" |
| }, |
| "pageSize": { |
| "format": "int32", |
| "type": "integer", |
| "description": "The standard list page size.", |
| "location": "query" |
| }, |
| "pageToken": { |
| "description": "The standard list page token.", |
| "location": "query", |
| "type": "string" |
| } |
| }, |
| "path": "v1beta1/{+name}/locations", |
| "description": "Lists information about the supported locations for this service.", |
| "httpMethod": "GET", |
| "parameterOrder": [ |
| "name" |
| ], |
| "response": { |
| "$ref": "ListLocationsResponse" |
| }, |
| "id": "servicedirectory.projects.locations.list" |
| } |
| } |
| } |
| } |
| } |
| }, |
| "fullyEncodeReservedExpansion": true, |
| "revision": "20201112", |
| "kind": "discovery#restDescription", |
| "documentationLink": "https://cloud.google.com/service-directory", |
| "rootUrl": "https://servicedirectory.googleapis.com/", |
| "description": "Service Directory is a platform for discovering, publishing, and connecting services. ", |
| "auth": { |
| "oauth2": { |
| "scopes": { |
| "https://www.googleapis.com/auth/cloud-platform": { |
| "description": "View and manage your data across Google Cloud Platform services" |
| } |
| } |
| } |
| }, |
| "batchPath": "batch", |
| "version_module": true, |
| "title": "Service Directory API", |
| "basePath": "", |
| "ownerName": "Google", |
| "icons": { |
| "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| }, |
| "mtlsRootUrl": "https://servicedirectory.mtls.googleapis.com/", |
| "protocol": "rest", |
| "id": "servicedirectory:v1beta1", |
| "name": "servicedirectory", |
| "baseUrl": "https://servicedirectory.googleapis.com/", |
| "canonicalName": "Service Directory" |
| } |