Skip to content

Commit

Permalink
feat(serviceusage): update the api
Browse files Browse the repository at this point in the history
#### serviceusage:v1

The following keys were added:
- schemas.AddEnableRulesMetadata (Total Keys: 2)
- schemas.AddEnableRulesResponse (Total Keys: 5)
- schemas.GroupValue (Total Keys: 3)
- schemas.RemoveEnableRulesMetadata (Total Keys: 2)
- schemas.RemoveEnableRulesResponse (Total Keys: 3)
- schemas.ServiceValue (Total Keys: 7)
- schemas.TermsOfService (Total Keys: 3)
- schemas.ValueInfo (Total Keys: 6)

#### serviceusage:v1beta1

The following keys were added:
- resources.services.methods.batchEnable.deprecated (Total Keys: 1)
- resources.services.methods.disable.deprecated (Total Keys: 1)
- resources.services.methods.enable.deprecated (Total Keys: 1)
- resources.services.methods.get.deprecated (Total Keys: 1)
- resources.services.methods.list.deprecated (Total Keys: 1)
- schemas.AddEnableRulesMetadata (Total Keys: 2)
- schemas.AddEnableRulesResponse (Total Keys: 5)
- schemas.GroupValue (Total Keys: 3)
- schemas.RemoveEnableRulesMetadata (Total Keys: 2)
- schemas.RemoveEnableRulesResponse (Total Keys: 3)
- schemas.ServiceValue (Total Keys: 7)
- schemas.TermsOfService (Total Keys: 3)
- schemas.ValueInfo (Total Keys: 6)
  • Loading branch information
yoshi-automation committed May 24, 2023
1 parent 15aa5af commit d2db422
Show file tree
Hide file tree
Showing 4 changed files with 274 additions and 8 deletions.
3 changes: 3 additions & 0 deletions docs/dyn/serviceusage_v1.services.html
Expand Up @@ -254,6 +254,7 @@ <h3>Method Details</h3>
{ # A documentation rule provides information about individual API elements.
&quot;deprecationDescription&quot;: &quot;A String&quot;, # Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`.
&quot;description&quot;: &quot;A String&quot;, # Description of the selected proto element (e.g. a message, a method, a &#x27;service&#x27; definition, or a field). Defaults to leading &amp; trailing comments taken from the proto source definition of the proto element.
&quot;disableReplacementWords&quot;: &quot;A String&quot;, # String of comma or space separated case-sensitive words for which method/field name replacement will be disabled by go/api-docgen.
&quot;selector&quot;: &quot;A String&quot;, # 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 &quot;*&quot;, indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. &quot;foo.*&quot; is ok, but not &quot;foo.b*&quot; or &quot;foo.*.bar&quot;. A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern &quot;*&quot; is used.
},
],
Expand Down Expand Up @@ -551,6 +552,7 @@ <h3>Method Details</h3>
{ # A documentation rule provides information about individual API elements.
&quot;deprecationDescription&quot;: &quot;A String&quot;, # Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`.
&quot;description&quot;: &quot;A String&quot;, # Description of the selected proto element (e.g. a message, a method, a &#x27;service&#x27; definition, or a field). Defaults to leading &amp; trailing comments taken from the proto source definition of the proto element.
&quot;disableReplacementWords&quot;: &quot;A String&quot;, # String of comma or space separated case-sensitive words for which method/field name replacement will be disabled by go/api-docgen.
&quot;selector&quot;: &quot;A String&quot;, # 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 &quot;*&quot;, indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. &quot;foo.*&quot; is ok, but not &quot;foo.b*&quot; or &quot;foo.*.bar&quot;. A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern &quot;*&quot; is used.
},
],
Expand Down Expand Up @@ -763,6 +765,7 @@ <h3>Method Details</h3>
{ # A documentation rule provides information about individual API elements.
&quot;deprecationDescription&quot;: &quot;A String&quot;, # Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`.
&quot;description&quot;: &quot;A String&quot;, # Description of the selected proto element (e.g. a message, a method, a &#x27;service&#x27; definition, or a field). Defaults to leading &amp; trailing comments taken from the proto source definition of the proto element.
&quot;disableReplacementWords&quot;: &quot;A String&quot;, # String of comma or space separated case-sensitive words for which method/field name replacement will be disabled by go/api-docgen.
&quot;selector&quot;: &quot;A String&quot;, # 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 &quot;*&quot;, indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. &quot;foo.*&quot; is ok, but not &quot;foo.b*&quot; or &quot;foo.*.bar&quot;. A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern &quot;*&quot; is used.
},
],
Expand Down
2 changes: 2 additions & 0 deletions docs/dyn/serviceusage_v1beta1.services.html
Expand Up @@ -378,6 +378,7 @@ <h3>Method Details</h3>
{ # A documentation rule provides information about individual API elements.
&quot;deprecationDescription&quot;: &quot;A String&quot;, # Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`.
&quot;description&quot;: &quot;A String&quot;, # Description of the selected proto element (e.g. a message, a method, a &#x27;service&#x27; definition, or a field). Defaults to leading &amp; trailing comments taken from the proto source definition of the proto element.
&quot;disableReplacementWords&quot;: &quot;A String&quot;, # String of comma or space separated case-sensitive words for which method/field name replacement will be disabled by go/api-docgen.
&quot;selector&quot;: &quot;A String&quot;, # 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 &quot;*&quot;, indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. &quot;foo.*&quot; is ok, but not &quot;foo.b*&quot; or &quot;foo.*.bar&quot;. A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern &quot;*&quot; is used.
},
],
Expand Down Expand Up @@ -590,6 +591,7 @@ <h3>Method Details</h3>
{ # A documentation rule provides information about individual API elements.
&quot;deprecationDescription&quot;: &quot;A String&quot;, # Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`.
&quot;description&quot;: &quot;A String&quot;, # Description of the selected proto element (e.g. a message, a method, a &#x27;service&#x27; definition, or a field). Defaults to leading &amp; trailing comments taken from the proto source definition of the proto element.
&quot;disableReplacementWords&quot;: &quot;A String&quot;, # String of comma or space separated case-sensitive words for which method/field name replacement will be disabled by go/api-docgen.
&quot;selector&quot;: &quot;A String&quot;, # 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 &quot;*&quot;, indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. &quot;foo.*&quot; is ok, but not &quot;foo.b*&quot; or &quot;foo.*.bar&quot;. A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern &quot;*&quot; is used.
},
],
Expand Down
136 changes: 132 additions & 4 deletions googleapiclient/discovery_cache/documents/serviceusage.v1.json
Expand Up @@ -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",
Expand Down Expand Up @@ -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"
},
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -2668,15 +2707,19 @@
"ADS",
"PHOTOS",
"STREET_VIEW",
"SHOPPING"
"SHOPPING",
"GEO",
"GENERATIVE_AI"
],
"enumDescriptions": [
"Not useful.",
"Google Cloud Platform Org.",
"Ads (Advertising) Org.",
"Photos Org.",
"Street View Org.",
"Shopping Org."
"Shopping Org.",
"Geo Org.",
"Generative AI - https://developers.generativeai.google"
],
"type": "string"
},
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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": "",
Expand Down

0 comments on commit d2db422

Please sign in to comment.