Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1819)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Jan 23, 2023
1 parent ba3ba78 commit 5935892
Show file tree
Hide file tree
Showing 17 changed files with 74 additions and 74 deletions.
15 changes: 0 additions & 15 deletions api-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -3546,21 +3546,6 @@
"documentationLink": "https://cloud.google.com/kms/",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "language:v1beta1",
"name": "language",
"version": "v1beta1",
"title": "Cloud Natural Language API",
"description": "Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.",
"discoveryRestUrl": "https://language.googleapis.com/$discovery/rest?version=v1beta1",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://cloud.google.com/natural-language/",
"preferred": false
},
{
"kind": "discovery#directoryItem",
"id": "language:v1beta2",
Expand Down
6 changes: 3 additions & 3 deletions chromeuxreport/v1/chromeuxreport-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
}
}
},
"revision": "20220922",
"revision": "20230117",
"rootUrl": "https://chromeuxreport.googleapis.com/",
"schemas": {
"Bin": {
Expand Down Expand Up @@ -224,7 +224,7 @@
},
"percentiles": {
"$ref": "Percentiles",
"description": "Common useful percentiles of the Metric. The value type for the percentiles will be the same as the value types given for the Histogram bins."
"description": "Commonly useful percentiles of the Metric. The value type for the percentiles will be the same as the value types given for the Histogram bins."
}
},
"type": "object"
Expand Down Expand Up @@ -313,7 +313,7 @@
"additionalProperties": {
"$ref": "Metric"
},
"description": "Metrics is the map of user experience data available for the record defined in the key field. Metrics are keyed on the metric name. Allowed key values: [\"first_contentful_paint\", \"first_input_delay\", \"largest_contentful_paint\", \"cumulative_layout_shift\"]",
"description": "Metrics is the map of user experience data available for the record defined in the key field. Metrics are keyed on the metric name. Allowed key values: [\"first_contentful_paint\", \"first_input_delay\", \"largest_contentful_paint\", \"cumulative_layout_shift\", \"experimental_time_to_first_byte\", \"experimental_interaction_to_next_paint\"]",
"type": "object"
}
},
Expand Down
9 changes: 5 additions & 4 deletions chromeuxreport/v1/chromeuxreport-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions classroom/v1/classroom-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2400,7 +2400,7 @@
}
}
},
"revision": "20230111",
"revision": "20230116",
"rootUrl": "https://classroom.googleapis.com/",
"schemas": {
"Announcement": {
Expand Down Expand Up @@ -4054,7 +4054,7 @@
"id": "UserProfile",
"properties": {
"emailAddress": {
"description": "Email address of the user. Read-only.",
"description": "Email address of the user. Must request `https://www.googleapis.com/auth/classroom.profile.emails` scope for this field to be populated in a response body. Read-only.",
"type": "string"
},
"id": {
Expand All @@ -4073,11 +4073,11 @@
"type": "array"
},
"photoUrl": {
"description": "URL of user's profile photo. Read-only.",
"description": "URL of user's profile photo. Must request `https://www.googleapis.com/auth/classroom.profile.photos` scope for this field to be populated in a response body. Read-only.",
"type": "string"
},
"verifiedTeacher": {
"description": "Represents whether a G Suite for Education user's domain administrator has explicitly verified them as being a teacher. If the user is not a member of a G Suite for Education domain, than this field is always false. Read-only",
"description": "Represents whether a Google Workspace for Education user's domain administrator has explicitly verified them as being a teacher. This field is always false if the user is not a member of a Google Workspace for Education domain. Read-only",
"type": "boolean"
}
},
Expand Down
16 changes: 10 additions & 6 deletions classroom/v1/classroom-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions compute/v0.beta/compute-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -35966,7 +35966,7 @@
}
}
},
"revision": "20221224",
"revision": "20230103",
"rootUrl": "https://compute.googleapis.com/",
"schemas": {
"AWSV4Signature": {
Expand Down Expand Up @@ -66008,7 +66008,7 @@
"id": "SourceInstanceParams",
"properties": {
"diskConfigs": {
"description": "Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, new custom images will be created from each disk. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.",
"description": "Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.",
"items": {
"$ref": "DiskInstantiationConfig"
},
Expand Down
4 changes: 2 additions & 2 deletions compute/v0.beta/compute-gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -48514,8 +48514,8 @@ func (s *SourceDiskEncryptionKey) MarshalJSON() ([]byte, error) {
// creating the instance template from a source instance.
type SourceInstanceParams struct {
// DiskConfigs: Attached disks configuration. If not provided, defaults
// are applied: For boot disk and any other R/W disks, new custom images
// will be created from each disk. For read-only disks, they will be
// are applied: For boot disk and any other R/W disks, the source images
// for each disk will be used. For read-only disks, they will be
// attached in read-only mode. Local SSD disks will be created as blank
// volumes.
DiskConfigs []*DiskInstantiationConfig `json:"diskConfigs,omitempty"`
Expand Down
16 changes: 8 additions & 8 deletions iap/v1/iap-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@
}
}
},
"revision": "20221028",
"revision": "20230118",
"rootUrl": "https://iap.googleapis.com/",
"schemas": {
"AccessDeniedPageSettings": {
Expand Down Expand Up @@ -733,7 +733,7 @@
},
"attributePropagationSettings": {
"$ref": "AttributePropagationSettings",
"description": "Settings to configure attribute propagation to customer application. These attributes may come from SAML/SessionStorage integration, or other sources in the future."
"description": "Settings to configure attribute propagation."
},
"cookieDomain": {
"description": "The Domain value to set for cookies generated by IAP. This value is not validated by the API, but will be ignored at runtime if invalid.",
Expand All @@ -747,15 +747,15 @@
"type": "object"
},
"AttributePropagationSettings": {
"description": "Configuration for propagating attributes to customer applications protected by IAP. These attributes may be SAML attributes from a 3rd party IdP, or potentially other sources in the future.",
"description": "Configuration for propagating attributes to applications protected by IAP.",
"id": "AttributePropagationSettings",
"properties": {
"enable": {
"description": "Whether the provided attribute propagation settings should be evaluated on user requests. If set to true, attributes returned from the expression will be propagated in the set output credentials.",
"type": "boolean"
},
"expression": {
"description": "Raw string CEL expression. Expression should be of the form attributes.saml_attributes.filter(attribute, attribute.name in [{attribute_list}]). An example expression to select the attributes \"my_attr\" and \"other_attr\": attributes.saml_attributes.filter(attribute, attribute.name in [\"my_attr\", \"other_attr\"])",
"description": "Raw string CEL expression. Must return a list of attributes. Maximum of 45 attributes can be selected. Expressions can select different attribute types from `attributes`: `attributes.saml_attributes`, `attributes.iap_attributes`. Limited functions are supported: - filter: .filter(, ) -\u003e returns a subset of where is true for every item - in: in -\u003e returns true if contains - selectByName: .selectByName() -\u003e returns the attribute in with the given name, otherwise returns empty. - emitAs: .emitAs() -\u003e sets the name field to the given for propagation in selected output credentials. - strict: .strict() -\u003e ignore the `x-goog-iap-attr-` prefix for the provided attribute when propagating via the `HEADER` output credential, i.e. request headers. - append: .append() OR .append() -\u003e append the provided or onto the end of Example expression: attributes.saml_attributes.filter(x, x.name in ['test']).append(attributes.iap_attributes.selectByName('exact').emitAs('custom').strict())",
"type": "string"
},
"outputCredentials": {
Expand Down Expand Up @@ -1100,14 +1100,14 @@
"enum": [
"METHOD_UNSPECIFIED",
"LOGIN",
"SECURE_KEY",
"ENROLLED_SECOND_FACTORS"
"PASSWORD",
"SECURE_KEY"
],
"enumDescriptions": [
"Reauthentication disabled.",
"Prompts the user to log in again.",
"User must use their secure key 2nd factor device.",
"User can use any enabled 2nd factor."
"Deprecated, no longer accepted by IAP APIs.",
"User must use their secure key 2nd factor device."
],
"type": "string"
},
Expand Down
31 changes: 19 additions & 12 deletions iap/v1/iap-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions retail/v2/retail-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1785,7 +1785,7 @@
}
}
},
"revision": "20230105",
"revision": "20230117",
"rootUrl": "https://retail.googleapis.com/",
"schemas": {
"GoogleApiHttpBody": {
Expand Down Expand Up @@ -2195,7 +2195,7 @@
"type": "string"
},
"key": {
"description": "Required. Attribute name. For example: `color`, `brands`, `attributes.custom_attribute`, such as `attributes.xyz`. To be indexable, the attribute name can contain only alpha-numeric characters and underscores. For example, an attribute named `attributes.abc_xyz` can be indexed, but an attribute named `attributes.abc-xyz` cannot be indexed. For attributes whoes key start with `attributes.`, we refer them as custom attributes. Otherwise they are built-in attributes such as `color` and `brands`.",
"description": "Required. Attribute name. For example: `color`, `brands`, `attributes.custom_attribute`, such as `attributes.xyz`. To be indexable, the attribute name can contain only alpha-numeric characters and underscores. For example, an attribute named `attributes.abc_xyz` can be indexed, but an attribute named `attributes.abc-xyz` cannot be indexed. If the attribute key starts with `attributes.`, then the attribute is a custom attribute. Attributes such as `brands`, `patterns`, and `title` are built-in and called system attributes.",
"type": "string"
},
"retrievableOption": {
Expand Down
7 changes: 4 additions & 3 deletions retail/v2/retail-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions retail/v2alpha/retail-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2100,7 +2100,7 @@
}
}
},
"revision": "20230105",
"revision": "20230117",
"rootUrl": "https://retail.googleapis.com/",
"schemas": {
"GoogleApiHttpBody": {
Expand Down Expand Up @@ -2777,7 +2777,7 @@
"type": "string"
},
"key": {
"description": "Required. Attribute name. For example: `color`, `brands`, `attributes.custom_attribute`, such as `attributes.xyz`. To be indexable, the attribute name can contain only alpha-numeric characters and underscores. For example, an attribute named `attributes.abc_xyz` can be indexed, but an attribute named `attributes.abc-xyz` cannot be indexed. For attributes whoes key start with `attributes.`, we refer them as custom attributes. Otherwise they are built-in attributes such as `color` and `brands`.",
"description": "Required. Attribute name. For example: `color`, `brands`, `attributes.custom_attribute`, such as `attributes.xyz`. To be indexable, the attribute name can contain only alpha-numeric characters and underscores. For example, an attribute named `attributes.abc_xyz` can be indexed, but an attribute named `attributes.abc-xyz` cannot be indexed. If the attribute key starts with `attributes.`, then the attribute is a custom attribute. Attributes such as `brands`, `patterns`, and `title` are built-in and called system attributes.",
"type": "string"
},
"recommendationsFilteringOption": {
Expand Down
7 changes: 4 additions & 3 deletions retail/v2alpha/retail-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5935892

Please sign in to comment.