diff --git a/docs/dyn/serviceusage_v1.services.html b/docs/dyn/serviceusage_v1.services.html index 4fdf5d66c13..cfcf79c5719 100644 --- a/docs/dyn/serviceusage_v1.services.html +++ b/docs/dyn/serviceusage_v1.services.html @@ -254,6 +254,7 @@

Method Details

{ # A documentation rule provides information about individual API elements. "deprecationDescription": "A String", # Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`. "description": "A String", # Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element. + "disableReplacementWords": "A String", # String of comma or space separated case-sensitive words for which method/field name replacement will be disabled by go/api-docgen. "selector": "A String", # The selector is a comma-separated list of patterns for any element such as a method, a field, an enum value. 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. }, ], @@ -551,6 +552,7 @@

Method Details

{ # A documentation rule provides information about individual API elements. "deprecationDescription": "A String", # Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`. "description": "A String", # Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element. + "disableReplacementWords": "A String", # String of comma or space separated case-sensitive words for which method/field name replacement will be disabled by go/api-docgen. "selector": "A String", # The selector is a comma-separated list of patterns for any element such as a method, a field, an enum value. 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. }, ], @@ -763,6 +765,7 @@

Method Details

{ # A documentation rule provides information about individual API elements. "deprecationDescription": "A String", # Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`. "description": "A String", # Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element. + "disableReplacementWords": "A String", # String of comma or space separated case-sensitive words for which method/field name replacement will be disabled by go/api-docgen. "selector": "A String", # The selector is a comma-separated list of patterns for any element such as a method, a field, an enum value. 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. }, ], diff --git a/docs/dyn/serviceusage_v1beta1.services.html b/docs/dyn/serviceusage_v1beta1.services.html index 7d1d6dd7d81..579b43d1b46 100644 --- a/docs/dyn/serviceusage_v1beta1.services.html +++ b/docs/dyn/serviceusage_v1beta1.services.html @@ -378,6 +378,7 @@

Method Details

{ # A documentation rule provides information about individual API elements. "deprecationDescription": "A String", # Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`. "description": "A String", # Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element. + "disableReplacementWords": "A String", # String of comma or space separated case-sensitive words for which method/field name replacement will be disabled by go/api-docgen. "selector": "A String", # The selector is a comma-separated list of patterns for any element such as a method, a field, an enum value. 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. }, ], @@ -590,6 +591,7 @@

Method Details

{ # A documentation rule provides information about individual API elements. "deprecationDescription": "A String", # Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`. "description": "A String", # Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element. + "disableReplacementWords": "A String", # String of comma or space separated case-sensitive words for which method/field name replacement will be disabled by go/api-docgen. "selector": "A String", # The selector is a comma-separated list of patterns for any element such as a method, a field, an enum value. 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. }, ], diff --git a/googleapiclient/discovery_cache/documents/serviceusage.v1.json b/googleapiclient/discovery_cache/documents/serviceusage.v1.json index 5f3e56514e6..7b9cac58773 100644 --- a/googleapiclient/discovery_cache/documents/serviceusage.v1.json +++ b/googleapiclient/discovery_cache/documents/serviceusage.v1.json @@ -426,9 +426,33 @@ } } }, - "revision": "20230412", + "revision": "20230521", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { + "AddEnableRulesMetadata": { + "description": "Metadata for the `AddEnableRules` method.", + "id": "AddEnableRulesMetadata", + "properties": {}, + "type": "object" + }, + "AddEnableRulesResponse": { + "description": "The response message of \"AddEnableRules\" method.", + "id": "AddEnableRulesResponse", + "properties": { + "parent": { + "description": "The parent consumer policy. It can be `projects/12345/consumerPolicies/default`, or `folders/12345/consumerPolicies/default`, or `organizations/12345/consumerPolicies/default`.", + "type": "string" + }, + "values": { + "description": "The values added to the parent consumer policy.", + "items": { + "$ref": "ValueInfo" + }, + "type": "array" + } + }, + "type": "object" + }, "AdminQuotaPolicy": { "description": "Quota policy created by quota administrator.", "id": "AdminQuotaPolicy", @@ -927,7 +951,7 @@ "type": "string" }, "name": { - "description": "Output only. The resource name of the policy. For example, `projects/12345/consumerPolicy`, `folders/12345/consumerPolicy`, `organizations/12345/consumerPolicy`.", + "description": "Output only. The resource name of the policy. For example, We only allow consumer policy name as \"default\" for now: `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`, `organizations/12345/consumerPolicies/default`. Legacy format: `projects/12345/consumerPoly`", "readOnly": true, "type": "string" }, @@ -1162,6 +1186,10 @@ "description": "Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element.", "type": "string" }, + "disableReplacementWords": { + "description": "String of comma or space separated case-sensitive words for which method/field name replacement will be disabled by go/api-docgen.", + "type": "string" + }, "selector": { "description": "The selector is a comma-separated list of patterns for any element such as a method, a field, an enum value. 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.", "type": "string" @@ -1824,6 +1852,17 @@ }, "type": "object" }, + "GroupValue": { + "description": "Unimplemented. Do not use. GroupValue contains information of a service group.", + "id": "GroupValue", + "properties": { + "name": { + "description": "The name of the value. Example: `groups/googleSerivice`.", + "type": "string" + } + }, + "type": "object" + }, "Http": { "description": "Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.", "id": "Http", @@ -2668,7 +2707,9 @@ "ADS", "PHOTOS", "STREET_VIEW", - "SHOPPING" + "SHOPPING", + "GEO", + "GENERATIVE_AI" ], "enumDescriptions": [ "Not useful.", @@ -2676,7 +2717,9 @@ "Ads (Advertising) Org.", "Photos Org.", "Street View Org.", - "Shopping Org." + "Shopping Org.", + "Geo Org.", + "Generative AI - https://developers.generativeai.google" ], "type": "string" }, @@ -2808,6 +2851,23 @@ }, "type": "object" }, + "RemoveEnableRulesMetadata": { + "description": "Metadata for the `RemoveEnableRules` method.", + "id": "RemoveEnableRulesMetadata", + "properties": {}, + "type": "object" + }, + "RemoveEnableRulesResponse": { + "description": "The response message of \"RemoveEnableRules\" method.", + "id": "RemoveEnableRulesResponse", + "properties": { + "parent": { + "description": "The parent consumer policy. It can be `projects/12345/consumerPolicies/default`, or `folders/12345/consumerPolicies/default`, or `organizations/12345/consumerPolicies/default`.", + "type": "string" + } + }, + "type": "object" + }, "RubySettings": { "description": "Settings for Ruby client libraries.", "id": "RubySettings", @@ -2834,6 +2894,32 @@ }, "type": "object" }, + "ServiceValue": { + "description": "ServiceValue contains information of a service.", + "id": "ServiceValue", + "properties": { + "dnsAddress": { + "description": "The DNS address at which this service is available.", + "type": "string" + }, + "name": { + "description": "The name of the value. Example: `services/storage.googleapis.com`.", + "type": "string" + }, + "pricingLink": { + "description": "A link to pricing information for the service, such as https://cloud.google.com/bigquery/pricing.", + "type": "string" + }, + "tos": { + "description": "Terms of Service", + "items": { + "$ref": "TermsOfService" + }, + "type": "array" + } + }, + "type": "object" + }, "SourceContext": { "description": "`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.", "id": "SourceContext", @@ -2941,6 +3027,21 @@ }, "type": "object" }, + "TermsOfService": { + "description": "TermsOfService captures the metadata about a given terms of service", + "id": "TermsOfService", + "properties": { + "title": { + "description": "Title of the terms of service.", + "type": "string" + }, + "uri": { + "description": "URL/URI of the terms of service.", + "type": "string" + } + }, + "type": "object" + }, "Type": { "description": "A protocol buffer message type.", "id": "Type", @@ -3050,6 +3151,33 @@ } }, "type": "object" + }, + "ValueInfo": { + "description": "Information about the value field. Only support value type as service now.", + "id": "ValueInfo", + "properties": { + "groupValue": { + "$ref": "GroupValue", + "description": "The information related to the value if it is a service group." + }, + "learnmoreLink": { + "description": "For public services, it must point to the product landing page. For private services, it should point to the internal site. For service group, it is TBD.", + "type": "string" + }, + "serviceValue": { + "$ref": "ServiceValue", + "description": "The information related to the value if it is a service." + }, + "summary": { + "description": "The product summary for this value.", + "type": "string" + }, + "title": { + "description": "The product title for this value.", + "type": "string" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json b/googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json index 04a35c1ed3c..aa1c493a73f 100644 --- a/googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json @@ -182,6 +182,7 @@ "services": { "methods": { "batchEnable": { + "deprecated": true, "description": "Enables multiple services on a project. The operation is atomic: if enabling any service fails, then the entire batch fails, and no state changes occur. Operation response type: `google.protobuf.Empty`", "flatPath": "v1beta1/{v1beta1Id}/{v1beta1Id1}/services:batchEnable", "httpMethod": "POST", @@ -211,6 +212,7 @@ ] }, "disable": { + "deprecated": true, "description": "Disables a service so that it can no longer be used with a project. This prevents unintended usage that may cause unexpected billing charges or security leaks. It is not valid to call the disable method on a service that is not currently enabled. Callers will receive a `FAILED_PRECONDITION` status if the target service is not currently enabled. Operation response type: `google.protobuf.Empty`", "flatPath": "v1beta1/{v1beta1Id}/{v1beta1Id1}/services/{servicesId}:disable", "httpMethod": "POST", @@ -240,6 +242,7 @@ ] }, "enable": { + "deprecated": true, "description": "Enables a service so that it can be used with a project. Operation response type: `google.protobuf.Empty`", "flatPath": "v1beta1/{v1beta1Id}/{v1beta1Id1}/services/{servicesId}:enable", "httpMethod": "POST", @@ -295,6 +298,7 @@ ] }, "get": { + "deprecated": true, "description": "Returns the service configuration and enabled state for a given service.", "flatPath": "v1beta1/{v1beta1Id}/{v1beta1Id1}/services/{servicesId}", "httpMethod": "GET", @@ -321,6 +325,7 @@ ] }, "list": { + "deprecated": true, "description": "Lists all services available to the specified project, and the current state of those services with respect to the project. The list includes all public services, all services for which the calling user has the `servicemanagement.services.bind` permission, and all services that have already been enabled on the project. The list can be filtered to only include services in a specific state, for example to only include services enabled on the project.", "flatPath": "v1beta1/{v1beta1Id}/{v1beta1Id1}/services", "httpMethod": "GET", @@ -959,9 +964,33 @@ } } }, - "revision": "20230412", + "revision": "20230521", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { + "AddEnableRulesMetadata": { + "description": "Metadata for the `AddEnableRules` method.", + "id": "AddEnableRulesMetadata", + "properties": {}, + "type": "object" + }, + "AddEnableRulesResponse": { + "description": "The response message of \"AddEnableRules\" method.", + "id": "AddEnableRulesResponse", + "properties": { + "parent": { + "description": "The parent consumer policy. It can be `projects/12345/consumerPolicies/default`, or `folders/12345/consumerPolicies/default`, or `organizations/12345/consumerPolicies/default`.", + "type": "string" + }, + "values": { + "description": "The values added to the parent consumer policy.", + "items": { + "$ref": "ValueInfo" + }, + "type": "array" + } + }, + "type": "object" + }, "AdminQuotaPolicy": { "description": "Quota policy created by quota administrator.", "id": "AdminQuotaPolicy", @@ -1440,7 +1469,7 @@ "type": "string" }, "name": { - "description": "Output only. The resource name of the policy. For example, `projects/12345/consumerPolicy`, `folders/12345/consumerPolicy`, `organizations/12345/consumerPolicy`.", + "description": "Output only. The resource name of the policy. For example, We only allow consumer policy name as \"default\" for now: `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`, `organizations/12345/consumerPolicies/default`. Legacy format: `projects/12345/consumerPoly`", "readOnly": true, "type": "string" }, @@ -1734,6 +1763,10 @@ "description": "Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element.", "type": "string" }, + "disableReplacementWords": { + "description": "String of comma or space separated case-sensitive words for which method/field name replacement will be disabled by go/api-docgen.", + "type": "string" + }, "selector": { "description": "The selector is a comma-separated list of patterns for any element such as a method, a field, an enum value. 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.", "type": "string" @@ -2396,6 +2429,17 @@ }, "type": "object" }, + "GroupValue": { + "description": "Unimplemented. Do not use. GroupValue contains information of a service group.", + "id": "GroupValue", + "properties": { + "name": { + "description": "The name of the value. Example: `groups/googleSerivice`.", + "type": "string" + } + }, + "type": "object" + }, "Http": { "description": "Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.", "id": "Http", @@ -3372,7 +3416,9 @@ "ADS", "PHOTOS", "STREET_VIEW", - "SHOPPING" + "SHOPPING", + "GEO", + "GENERATIVE_AI" ], "enumDescriptions": [ "Not useful.", @@ -3380,7 +3426,9 @@ "Ads (Advertising) Org.", "Photos Org.", "Street View Org.", - "Shopping Org." + "Shopping Org.", + "Geo Org.", + "Generative AI - https://developers.generativeai.google" ], "type": "string" }, @@ -3548,6 +3596,23 @@ }, "type": "object" }, + "RemoveEnableRulesMetadata": { + "description": "Metadata for the `RemoveEnableRules` method.", + "id": "RemoveEnableRulesMetadata", + "properties": {}, + "type": "object" + }, + "RemoveEnableRulesResponse": { + "description": "The response message of \"RemoveEnableRules\" method.", + "id": "RemoveEnableRulesResponse", + "properties": { + "parent": { + "description": "The parent consumer policy. It can be `projects/12345/consumerPolicies/default`, or `folders/12345/consumerPolicies/default`, or `organizations/12345/consumerPolicies/default`.", + "type": "string" + } + }, + "type": "object" + }, "RubySettings": { "description": "Settings for Ruby client libraries.", "id": "RubySettings", @@ -3663,6 +3728,32 @@ }, "type": "object" }, + "ServiceValue": { + "description": "ServiceValue contains information of a service.", + "id": "ServiceValue", + "properties": { + "dnsAddress": { + "description": "The DNS address at which this service is available.", + "type": "string" + }, + "name": { + "description": "The name of the value. Example: `services/storage.googleapis.com`.", + "type": "string" + }, + "pricingLink": { + "description": "A link to pricing information for the service, such as https://cloud.google.com/bigquery/pricing.", + "type": "string" + }, + "tos": { + "description": "Terms of Service", + "items": { + "$ref": "TermsOfService" + }, + "type": "array" + } + }, + "type": "object" + }, "SourceContext": { "description": "`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.", "id": "SourceContext", @@ -3770,6 +3861,21 @@ }, "type": "object" }, + "TermsOfService": { + "description": "TermsOfService captures the metadata about a given terms of service", + "id": "TermsOfService", + "properties": { + "title": { + "description": "Title of the terms of service.", + "type": "string" + }, + "uri": { + "description": "URL/URI of the terms of service.", + "type": "string" + } + }, + "type": "object" + }, "Type": { "description": "A protocol buffer message type.", "id": "Type", @@ -3879,6 +3985,33 @@ } }, "type": "object" + }, + "ValueInfo": { + "description": "Information about the value field. Only support value type as service now.", + "id": "ValueInfo", + "properties": { + "groupValue": { + "$ref": "GroupValue", + "description": "The information related to the value if it is a service group." + }, + "learnmoreLink": { + "description": "For public services, it must point to the product landing page. For private services, it should point to the internal site. For service group, it is TBD.", + "type": "string" + }, + "serviceValue": { + "$ref": "ServiceValue", + "description": "The information related to the value if it is a service." + }, + "summary": { + "description": "The product summary for this value.", + "type": "string" + }, + "title": { + "description": "The product title for this value.", + "type": "string" + } + }, + "type": "object" } }, "servicePath": "",