From 7a17059852c2722b40dfc57a27d120367573f20f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 18 Dec 2024 00:24:27 -0800 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2926) --- androidpublisher/v3/androidpublisher-api.json | 6 +- androidpublisher/v3/androidpublisher-gen.go | 2 + chromemanagement/v1/chromemanagement-api.json | 151 +++++++++++++- chromemanagement/v1/chromemanagement-gen.go | 191 ++++++++++++++++++ firebaseml/v2beta/firebaseml-api.json | 6 +- firebaseml/v2beta/firebaseml-gen.go | 2 + monitoring/v1/monitoring-api.json | 36 +++- monitoring/v1/monitoring-gen.go | 36 ++++ .../v1/serviceconsumermanagement-api.json | 6 +- .../v1/serviceconsumermanagement-gen.go | 12 +- 10 files changed, 439 insertions(+), 9 deletions(-) diff --git a/androidpublisher/v3/androidpublisher-api.json b/androidpublisher/v3/androidpublisher-api.json index 698e0e1106..2c15c5ebbc 100644 --- a/androidpublisher/v3/androidpublisher-api.json +++ b/androidpublisher/v3/androidpublisher-api.json @@ -4732,7 +4732,7 @@ } } }, - "revision": "20241125", + "revision": "20241216", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { @@ -5314,6 +5314,10 @@ "priceChangeDetails": { "$ref": "SubscriptionItemPriceChangeDetails", "description": "The information of the last price change for the item since subscription signup." + }, + "recurringPrice": { + "$ref": "Money", + "description": "The current recurring price of the auto renewing plan." } }, "type": "object" diff --git a/androidpublisher/v3/androidpublisher-gen.go b/androidpublisher/v3/androidpublisher-gen.go index 6aa33a581a..669e26f02f 100644 --- a/androidpublisher/v3/androidpublisher-gen.go +++ b/androidpublisher/v3/androidpublisher-gen.go @@ -1320,6 +1320,8 @@ type AutoRenewingPlan struct { // PriceChangeDetails: The information of the last price change for the item // since subscription signup. PriceChangeDetails *SubscriptionItemPriceChangeDetails `json:"priceChangeDetails,omitempty"` + // RecurringPrice: The current recurring price of the auto renewing plan. + RecurringPrice *Money `json:"recurringPrice,omitempty"` // ForceSendFields is a list of field names (e.g. "AutoRenewEnabled") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/chromemanagement/v1/chromemanagement-api.json b/chromemanagement/v1/chromemanagement-api.json index 43104e7731..b47b215e73 100644 --- a/chromemanagement/v1/chromemanagement-api.json +++ b/chromemanagement/v1/chromemanagement-api.json @@ -1263,7 +1263,7 @@ } } }, - "revision": "20241210", + "revision": "20241215", "rootUrl": "https://chromemanagement.googleapis.com/", "schemas": { "GoogleChromeManagementV1AndroidAppInfo": { @@ -4992,6 +4992,91 @@ }, "type": "object" }, + "GoogleChromeManagementVersionsV1CertificateProvisioningProcess": { + "description": "A certificate provisioning process.", + "id": "GoogleChromeManagementVersionsV1CertificateProvisioningProcess", + "properties": { + "caConnectionAdapterConfigReference": { + "description": "Output only. A JSON string that contains the administrator-provided configuration for the certification authority service. This field can be missing if no configuration was given.", + "readOnly": true, + "type": "string" + }, + "chromeOsDevice": { + "$ref": "GoogleChromeManagementVersionsV1ChromeOsDevice", + "description": "Output only. The client certificate is being provisioned for a ChromeOS device. This contains information about the device.", + "readOnly": true + }, + "chromeOsUserSession": { + "$ref": "GoogleChromeManagementVersionsV1ChromeOsUserSession", + "description": "Output only. The client certificate is being provisioned for a ChromeOS user session. This contains information about the user session.", + "readOnly": true + }, + "failureMessage": { + "description": "Output only. A message describing why this `CertificateProvisioningProcess` failed. Presence of this field indicates that the `CertificateProvisioningProcess` has failed.", + "readOnly": true, + "type": "string" + }, + "issuedCertificate": { + "description": "Output only. The issued certificate for this `CertificateProvisioningProcess` in PEM format.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. Resource name of the `CertificateProvisioningProcess`. The name pattern is given as `customers/{customer}/certificateProvisioningProcesses/{certificate_provisioning_process}` with `{customer}` being the obfuscated customer id and `{certificate_provisioning_process}` being the certificate provisioning process id.", + "type": "string" + }, + "profileAdapterConfigReference": { + "description": "Output only. A JSON string that contains the administrator-provided configuration for the certificate provisioning profile. This field can be missing if no configuration was given.", + "readOnly": true, + "type": "string" + }, + "provisioningProfileId": { + "description": "Output only. The ID of the certificate provisioning profile.", + "readOnly": true, + "type": "string" + }, + "signData": { + "description": "Output only. The data that the client was asked to sign. This field is only present after the `SignData` operation has been initiated.", + "format": "byte", + "readOnly": true, + "type": "string" + }, + "signature": { + "description": "Output only. The signature of `signature_algorithm`, generated using the client's private key using `signature_algorithm`. This field is only present after the`SignData` operation has finished.", + "format": "byte", + "readOnly": true, + "type": "string" + }, + "signatureAlgorithm": { + "description": "Output only. The signature algorithm that the adapter expects the client and backend components to use when processing `sign_data`. This field is only present after the `SignData` operation has been initiated.", + "enum": [ + "SIGNATURE_ALGORITHM_UNSPECIFIED", + "SIGNATURE_ALGORITHM_RSA_PKCS1_V1_5_SHA256", + "SIGNATURE_ALGORITHM_ECDSA_SHA256" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "The server-side builds the PKCS#1 DigestInfo, i.e., the SHA256 hash is constructed on the server-side. The client should sign using RSA with PKCS#1 v1.5 padding.", + "The PKCS#1 digest info is built by the server-side and sent to the client unhashed. The client is responsible for signing and hashing. Uses the P-256 curve." + ], + "readOnly": true, + "type": "string" + }, + "startTime": { + "description": "Output only. Server-generated timestamp of when the certificate provisioning process has been created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "subjectPublicKeyInfo": { + "description": "Output only. The public key for which a certificate should be provisioned. Represented as a DER-encoded X.509 SubjectPublicKeyInfo.", + "format": "byte", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleChromeManagementVersionsV1ChromeBrowserProfile": { "description": "A representation of a Chrome browser profile.", "id": "GoogleChromeManagementVersionsV1ChromeBrowserProfile", @@ -5159,6 +5244,45 @@ }, "type": "object" }, + "GoogleChromeManagementVersionsV1ChromeOsDevice": { + "description": "Describes the ChromeOS device that a `CertificateProvisioningProcess` belongs to.", + "id": "GoogleChromeManagementVersionsV1ChromeOsDevice", + "properties": { + "deviceDirectoryApiId": { + "description": "Output only. The unique Directory API ID of the device. This value is the same as the Admin Console's Directory API ID in the ChromeOS Devices tab.", + "readOnly": true, + "type": "string" + }, + "serialNumber": { + "description": "Output only. Device serial number. This value is the same as the Admin Console's Serial Number in the ChromeOS Devices tab.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromeManagementVersionsV1ChromeOsUserSession": { + "description": "Describes the ChromeOS user session that a `CertificateProvisioningProcess` belongs to.", + "id": "GoogleChromeManagementVersionsV1ChromeOsUserSession", + "properties": { + "chromeOsDevice": { + "$ref": "GoogleChromeManagementVersionsV1ChromeOsDevice", + "description": "Output only. This field contains information about the ChromeOS device that the user session is running on. It is only set if the user session is affiliated, i.e. if the user is managed by the same organization that managed the ChromeOS device.", + "readOnly": true + }, + "userDirectoryApiId": { + "description": "Output only. The unique Directory API ID of the user.", + "readOnly": true, + "type": "string" + }, + "userPrimaryEmail": { + "description": "Output only. The primary e-mail address of the user.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleChromeManagementVersionsV1DeviceInfo": { "description": "Information of a device that runs a Chrome browser profile.", "id": "GoogleChromeManagementVersionsV1DeviceInfo", @@ -5465,6 +5589,31 @@ }, "type": "object" }, + "GoogleChromeManagementVersionsV1SignDataMetadata": { + "description": "Metadata for the long-running operation returned by signData.", + "id": "GoogleChromeManagementVersionsV1SignDataMetadata", + "properties": { + "startTime": { + "description": "Output only. Start time of the SignData operation.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromeManagementVersionsV1SignDataResponse": { + "description": "Response message for requesting a signature from the client that initated a certificate provisioning process.", + "id": "GoogleChromeManagementVersionsV1SignDataResponse", + "properties": { + "certificateProvisioningProcess": { + "$ref": "GoogleChromeManagementVersionsV1CertificateProvisioningProcess", + "description": "Output only. The certificate provisioning process. The signature generated by the client will be available in the `signature` field of `CertificateProvisioningProcess`.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess": { "description": "A certificate provisioning process.", "id": "GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess", diff --git a/chromemanagement/v1/chromemanagement-gen.go b/chromemanagement/v1/chromemanagement-gen.go index 5166fc79a9..671a7f3cfa 100644 --- a/chromemanagement/v1/chromemanagement-gen.go +++ b/chromemanagement/v1/chromemanagement-gen.go @@ -4058,6 +4058,89 @@ func (s GoogleChromeManagementVersionsV1AttestationCredential) MarshalJSON() ([] return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleChromeManagementVersionsV1CertificateProvisioningProcess: A +// certificate provisioning process. +type GoogleChromeManagementVersionsV1CertificateProvisioningProcess struct { + // CaConnectionAdapterConfigReference: Output only. A JSON string that contains + // the administrator-provided configuration for the certification authority + // service. This field can be missing if no configuration was given. + CaConnectionAdapterConfigReference string `json:"caConnectionAdapterConfigReference,omitempty"` + // ChromeOsDevice: Output only. The client certificate is being provisioned for + // a ChromeOS device. This contains information about the device. + ChromeOsDevice *GoogleChromeManagementVersionsV1ChromeOsDevice `json:"chromeOsDevice,omitempty"` + // ChromeOsUserSession: Output only. The client certificate is being + // provisioned for a ChromeOS user session. This contains information about the + // user session. + ChromeOsUserSession *GoogleChromeManagementVersionsV1ChromeOsUserSession `json:"chromeOsUserSession,omitempty"` + // FailureMessage: Output only. A message describing why this + // `CertificateProvisioningProcess` failed. Presence of this field indicates + // that the `CertificateProvisioningProcess` has failed. + FailureMessage string `json:"failureMessage,omitempty"` + // IssuedCertificate: Output only. The issued certificate for this + // `CertificateProvisioningProcess` in PEM format. + IssuedCertificate string `json:"issuedCertificate,omitempty"` + // Name: Identifier. Resource name of the `CertificateProvisioningProcess`. The + // name pattern is given as + // `customers/{customer}/certificateProvisioningProcesses/{certificate_provision + // ing_process}` with `{customer}` being the obfuscated customer id and + // `{certificate_provisioning_process}` being the certificate provisioning + // process id. + Name string `json:"name,omitempty"` + // ProfileAdapterConfigReference: Output only. A JSON string that contains the + // administrator-provided configuration for the certificate provisioning + // profile. This field can be missing if no configuration was given. + ProfileAdapterConfigReference string `json:"profileAdapterConfigReference,omitempty"` + // ProvisioningProfileId: Output only. The ID of the certificate provisioning + // profile. + ProvisioningProfileId string `json:"provisioningProfileId,omitempty"` + // SignData: Output only. The data that the client was asked to sign. This + // field is only present after the `SignData` operation has been initiated. + SignData string `json:"signData,omitempty"` + // Signature: Output only. The signature of `signature_algorithm`, generated + // using the client's private key using `signature_algorithm`. This field is + // only present after the`SignData` operation has finished. + Signature string `json:"signature,omitempty"` + // SignatureAlgorithm: Output only. The signature algorithm that the adapter + // expects the client and backend components to use when processing + // `sign_data`. This field is only present after the `SignData` operation has + // been initiated. + // + // Possible values: + // "SIGNATURE_ALGORITHM_UNSPECIFIED" - Default value. This value is unused. + // "SIGNATURE_ALGORITHM_RSA_PKCS1_V1_5_SHA256" - The server-side builds the + // PKCS#1 DigestInfo, i.e., the SHA256 hash is constructed on the server-side. + // The client should sign using RSA with PKCS#1 v1.5 padding. + // "SIGNATURE_ALGORITHM_ECDSA_SHA256" - The PKCS#1 digest info is built by + // the server-side and sent to the client unhashed. The client is responsible + // for signing and hashing. Uses the P-256 curve. + SignatureAlgorithm string `json:"signatureAlgorithm,omitempty"` + // StartTime: Output only. Server-generated timestamp of when the certificate + // provisioning process has been created. + StartTime string `json:"startTime,omitempty"` + // SubjectPublicKeyInfo: Output only. The public key for which a certificate + // should be provisioned. Represented as a DER-encoded X.509 + // SubjectPublicKeyInfo. + SubjectPublicKeyInfo string `json:"subjectPublicKeyInfo,omitempty"` + // ForceSendFields is a list of field names (e.g. + // "CaConnectionAdapterConfigReference") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted from + // API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. + // "CaConnectionAdapterConfigReference") to include in API requests with the + // JSON null value. By default, fields with empty values are omitted from API + // requests. See https://pkg.go.dev/google.golang.org/api#hdr-NullFields for + // more details. + NullFields []string `json:"-"` +} + +func (s GoogleChromeManagementVersionsV1CertificateProvisioningProcess) MarshalJSON() ([]byte, error) { + type NoMethod GoogleChromeManagementVersionsV1CertificateProvisioningProcess + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleChromeManagementVersionsV1ChromeBrowserProfile: A representation of a // Chrome browser profile. type GoogleChromeManagementVersionsV1ChromeBrowserProfile struct { @@ -4175,6 +4258,64 @@ func (s GoogleChromeManagementVersionsV1ChromeBrowserProfile) MarshalJSON() ([]b return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleChromeManagementVersionsV1ChromeOsDevice: Describes the ChromeOS +// device that a `CertificateProvisioningProcess` belongs to. +type GoogleChromeManagementVersionsV1ChromeOsDevice struct { + // DeviceDirectoryApiId: Output only. The unique Directory API ID of the + // device. This value is the same as the Admin Console's Directory API ID in + // the ChromeOS Devices tab. + DeviceDirectoryApiId string `json:"deviceDirectoryApiId,omitempty"` + // SerialNumber: Output only. Device serial number. This value is the same as + // the Admin Console's Serial Number in the ChromeOS Devices tab. + SerialNumber string `json:"serialNumber,omitempty"` + // ForceSendFields is a list of field names (e.g. "DeviceDirectoryApiId") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "DeviceDirectoryApiId") to include + // in API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleChromeManagementVersionsV1ChromeOsDevice) MarshalJSON() ([]byte, error) { + type NoMethod GoogleChromeManagementVersionsV1ChromeOsDevice + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleChromeManagementVersionsV1ChromeOsUserSession: Describes the ChromeOS +// user session that a `CertificateProvisioningProcess` belongs to. +type GoogleChromeManagementVersionsV1ChromeOsUserSession struct { + // ChromeOsDevice: Output only. This field contains information about the + // ChromeOS device that the user session is running on. It is only set if the + // user session is affiliated, i.e. if the user is managed by the same + // organization that managed the ChromeOS device. + ChromeOsDevice *GoogleChromeManagementVersionsV1ChromeOsDevice `json:"chromeOsDevice,omitempty"` + // UserDirectoryApiId: Output only. The unique Directory API ID of the user. + UserDirectoryApiId string `json:"userDirectoryApiId,omitempty"` + // UserPrimaryEmail: Output only. The primary e-mail address of the user. + UserPrimaryEmail string `json:"userPrimaryEmail,omitempty"` + // ForceSendFields is a list of field names (e.g. "ChromeOsDevice") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "ChromeOsDevice") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleChromeManagementVersionsV1ChromeOsUserSession) MarshalJSON() ([]byte, error) { + type NoMethod GoogleChromeManagementVersionsV1ChromeOsUserSession + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleChromeManagementVersionsV1DeviceInfo: Information of a device that // runs a Chrome browser profile. type GoogleChromeManagementVersionsV1DeviceInfo struct { @@ -4444,6 +4585,56 @@ func (s GoogleChromeManagementVersionsV1ReportingDataPolicyData) MarshalJSON() ( return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleChromeManagementVersionsV1SignDataMetadata: Metadata for the +// long-running operation returned by signData. +type GoogleChromeManagementVersionsV1SignDataMetadata struct { + // StartTime: Output only. Start time of the SignData operation. + StartTime string `json:"startTime,omitempty"` + // ForceSendFields is a list of field names (e.g. "StartTime") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "StartTime") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleChromeManagementVersionsV1SignDataMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleChromeManagementVersionsV1SignDataMetadata + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleChromeManagementVersionsV1SignDataResponse: Response message for +// requesting a signature from the client that initated a certificate +// provisioning process. +type GoogleChromeManagementVersionsV1SignDataResponse struct { + // CertificateProvisioningProcess: Output only. The certificate provisioning + // process. The signature generated by the client will be available in the + // `signature` field of `CertificateProvisioningProcess`. + CertificateProvisioningProcess *GoogleChromeManagementVersionsV1CertificateProvisioningProcess `json:"certificateProvisioningProcess,omitempty"` + // ForceSendFields is a list of field names (e.g. + // "CertificateProvisioningProcess") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted from + // API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "CertificateProvisioningProcess") + // to include in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleChromeManagementVersionsV1SignDataResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleChromeManagementVersionsV1SignDataResponse + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess: A // certificate provisioning process. type GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess struct { diff --git a/firebaseml/v2beta/firebaseml-api.json b/firebaseml/v2beta/firebaseml-api.json index 8c525d05f8..e12ad25504 100644 --- a/firebaseml/v2beta/firebaseml-api.json +++ b/firebaseml/v2beta/firebaseml-api.json @@ -206,7 +206,7 @@ } } }, - "revision": "20241211", + "revision": "20241215", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "Date": { @@ -1170,6 +1170,10 @@ "description": "Optional. Text part (can be code).", "type": "string" }, + "thought": { + "description": "Optional. Indicates if the part is thought from the model.", + "type": "boolean" + }, "videoMetadata": { "$ref": "GoogleCloudAiplatformV1beta1VideoMetadata", "description": "Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data." diff --git a/firebaseml/v2beta/firebaseml-gen.go b/firebaseml/v2beta/firebaseml-gen.go index 61825baabc..ac367529f7 100644 --- a/firebaseml/v2beta/firebaseml-gen.go +++ b/firebaseml/v2beta/firebaseml-gen.go @@ -1420,6 +1420,8 @@ type GoogleCloudAiplatformV1beta1Part struct { InlineData *GoogleCloudAiplatformV1beta1Blob `json:"inlineData,omitempty"` // Text: Optional. Text part (can be code). Text string `json:"text,omitempty"` + // Thought: Optional. Indicates if the part is thought from the model. + Thought bool `json:"thought,omitempty"` // VideoMetadata: Optional. Video metadata. The metadata should only be // specified while the video data is presented in inline_data or file_data. VideoMetadata *GoogleCloudAiplatformV1beta1VideoMetadata `json:"videoMetadata,omitempty"` diff --git a/monitoring/v1/monitoring-api.json b/monitoring/v1/monitoring-api.json index 2577e9841c..fb4271ace4 100644 --- a/monitoring/v1/monitoring-api.json +++ b/monitoring/v1/monitoring-api.json @@ -753,7 +753,7 @@ } } }, - "revision": "20241003", + "revision": "20241212", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -1060,6 +1060,33 @@ }, "type": "object" }, + "ColumnSortingOptions": { + "description": "Data structure to storing column's sort strategy", + "id": "ColumnSortingOptions", + "properties": { + "column": { + "description": "Optional. Column name to sort data by", + "type": "string" + }, + "direction": { + "description": "Optional. A sorting direction that determines ascending or descending order. This is a legacy field kept for backwards compatibility with table.", + "enum": [ + "SORT_ORDER_UNSPECIFIED", + "SORT_ORDER_NONE", + "SORT_ORDER_ASCENDING", + "SORT_ORDER_DESCENDING" + ], + "enumDescriptions": [ + "An unspecified sort order. This option is invalid when sorting is required.", + "No sorting is applied.", + "The lowest-valued entries are selected first.", + "The highest-valued entries are selected first." + ], + "type": "string" + } + }, + "type": "object" + }, "Dashboard": { "description": "A Google Stackdriver dashboard. Dashboards define the content and layout of pages in the Stackdriver web application.", "id": "Dashboard", @@ -1253,6 +1280,13 @@ ], "type": "string" }, + "sort": { + "description": "Optional. A collection of sort options, affects the order of the data and legend.", + "items": { + "$ref": "ColumnSortingOptions" + }, + "type": "array" + }, "targetAxis": { "description": "Optional. The target axis to use for plotting the metric.", "enum": [ diff --git a/monitoring/v1/monitoring-gen.go b/monitoring/v1/monitoring-gen.go index 823e41e6a5..e0fb17427a 100644 --- a/monitoring/v1/monitoring-gen.go +++ b/monitoring/v1/monitoring-gen.go @@ -842,6 +842,39 @@ func (s ColumnSettings) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// ColumnSortingOptions: Data structure to storing column's sort strategy +type ColumnSortingOptions struct { + // Column: Optional. Column name to sort data by + Column string `json:"column,omitempty"` + // Direction: Optional. A sorting direction that determines ascending or + // descending order. This is a legacy field kept for backwards compatibility + // with table. + // + // Possible values: + // "SORT_ORDER_UNSPECIFIED" - An unspecified sort order. This option is + // invalid when sorting is required. + // "SORT_ORDER_NONE" - No sorting is applied. + // "SORT_ORDER_ASCENDING" - The lowest-valued entries are selected first. + // "SORT_ORDER_DESCENDING" - The highest-valued entries are selected first. + Direction string `json:"direction,omitempty"` + // ForceSendFields is a list of field names (e.g. "Column") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Column") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s ColumnSortingOptions) MarshalJSON() ([]byte, error) { + type NoMethod ColumnSortingOptions + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // Dashboard: A Google Stackdriver dashboard. Dashboards define the content and // layout of pages in the Stackdriver web application. type Dashboard struct { @@ -1025,6 +1058,9 @@ type DataSet struct { // distribution is displayed as a color. This type is not currently available // in the Stackdriver Monitoring application. PlotType string `json:"plotType,omitempty"` + // Sort: Optional. A collection of sort options, affects the order of the data + // and legend. + Sort []*ColumnSortingOptions `json:"sort,omitempty"` // TargetAxis: Optional. The target axis to use for plotting the metric. // // Possible values: diff --git a/serviceconsumermanagement/v1/serviceconsumermanagement-api.json b/serviceconsumermanagement/v1/serviceconsumermanagement-api.json index 71d7f4a557..7ff6aca3d0 100644 --- a/serviceconsumermanagement/v1/serviceconsumermanagement-api.json +++ b/serviceconsumermanagement/v1/serviceconsumermanagement-api.json @@ -542,7 +542,7 @@ } } }, - "revision": "20241115", + "revision": "20241210", "rootUrl": "https://serviceconsumermanagement.googleapis.com/", "schemas": { "AddTenantProjectRequest": { @@ -1133,6 +1133,10 @@ "description": "`Documentation` provides the information for describing a service. Example: documentation: summary: \u003e The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: \u003e ... - selector: google.calendar.Calendar.Put description: \u003e ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.", "id": "Documentation", "properties": { + "additionalIamInfo": { + "description": "Optional information about the IAM configuration. This is typically used to link to documentation about a product's IAM roles and permissions.", + "type": "string" + }, "documentationRootUrl": { "description": "The URL to the root of documentation.", "type": "string" diff --git a/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go b/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go index 0b396d3111..40fbddc288 100644 --- a/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go +++ b/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go @@ -1128,6 +1128,10 @@ func (s DeleteTenantProjectRequest) MarshalJSON() ([]byte, error) { // directive `suppress_warning` does not directly affect documentation and is // documented together with service config validation. type Documentation struct { + // AdditionalIamInfo: Optional information about the IAM configuration. This is + // typically used to link to documentation about a product's IAM roles and + // permissions. + AdditionalIamInfo string `json:"additionalIamInfo,omitempty"` // DocumentationRootUrl: The URL to the root of documentation. DocumentationRootUrl string `json:"documentationRootUrl,omitempty"` // Overview: Declares a single overview page. For example: documentation: @@ -1154,15 +1158,15 @@ type Documentation struct { // plain text. It becomes the overview of the service displayed in Google Cloud // Console. NOTE: This field is equivalent to the standard field `description`. Summary string `json:"summary,omitempty"` - // ForceSendFields is a list of field names (e.g. "DocumentationRootUrl") to + // ForceSendFields is a list of field names (e.g. "AdditionalIamInfo") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DocumentationRootUrl") to include - // in API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. See + // NullFields is a list of field names (e.g. "AdditionalIamInfo") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }