From 7dec2b0b377b77b3a6ffc349ad8363ad4b9645b1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 16 Feb 2022 09:53:22 -0800 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#1444) --- .../v1/androidmanagement-api.json | 6 +- androidmanagement/v1/androidmanagement-gen.go | 15 ++--- logging/v2/logging-api.json | 11 +++- logging/v2/logging-gen.go | 30 ++++++++++ .../v1/mybusinessaccountmanagement-api.json | 4 +- .../v1/mybusinessaccountmanagement-gen.go | 4 +- .../v1/mybusinessbusinessinformation-api.json | 4 +- .../v1/mybusinessbusinessinformation-gen.go | 4 +- .../v1/mybusinessverifications-api.json | 4 +- .../v1/mybusinessverifications-gen.go | 4 +- osconfig/v1/osconfig-api.json | 4 +- osconfig/v1/osconfig-gen.go | 10 ++-- osconfig/v1alpha/osconfig-api.json | 4 +- osconfig/v1alpha/osconfig-gen.go | 10 ++-- .../v1alpha1/prod_tt_sasportal-api.json | 32 +++++++++- .../v1alpha1/prod_tt_sasportal-gen.go | 59 +++++++++++++++++++ storage/v1/storage-api.json | 9 ++- 17 files changed, 174 insertions(+), 40 deletions(-) diff --git a/androidmanagement/v1/androidmanagement-api.json b/androidmanagement/v1/androidmanagement-api.json index ef1a1a87086..80a9e8c857a 100644 --- a/androidmanagement/v1/androidmanagement-api.json +++ b/androidmanagement/v1/androidmanagement-api.json @@ -1004,7 +1004,7 @@ } } }, - "revision": "20220131", + "revision": "20220207", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdvancedSecurityOverrides": { @@ -1741,7 +1741,7 @@ "type": "object" }, "Date": { - "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values A month and day value, with a zero year, such as an anniversary A year on its own, with zero month and day values A year and month value, with a zero day, such as a credit card expiration dateRelated types are google.type.TimeOfDay and google.protobuf.Timestamp.", + "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values A month and day, with a zero year (e.g., an anniversary) A year on its own, with a zero month and a zero day A year and month, with a zero day (e.g., a credit card expiration date)Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", "id": "Date", "properties": { "day": { @@ -3538,7 +3538,7 @@ "Disable unredacted notifications on secure keyguard screens.", "Ignore trust agent state on secure keyguard screens.", "Disable fingerprint sensor on secure keyguard screens.", - "Disable text entry into notifications on secure keyguard screens.", + "On devices running Android 6 and below, disables text entry into notifications on secure keyguard screens. Has no effect on Android 7 and above.", "Disable face authentication on secure keyguard screens.", "Disable iris authentication on secure keyguard screens.", "Disable all biometric authentication on secure keyguard screens.", diff --git a/androidmanagement/v1/androidmanagement-gen.go b/androidmanagement/v1/androidmanagement-gen.go index 3f3ae1069e4..9736ed72447 100644 --- a/androidmanagement/v1/androidmanagement-gen.go +++ b/androidmanagement/v1/androidmanagement-gen.go @@ -1295,11 +1295,11 @@ func (s *CrossProfilePolicies) MarshalJSON() ([]byte, error) { // birthday. The time of day and time zone are either specified // elsewhere or are insignificant. The date is relative to the Gregorian // Calendar. This can represent one of the following: A full date, with -// non-zero year, month, and day values A month and day value, with a -// zero year, such as an anniversary A year on its own, with zero month -// and day values A year and month value, with a zero day, such as a -// credit card expiration dateRelated types are google.type.TimeOfDay -// and google.protobuf.Timestamp. +// non-zero year, month, and day values A month and day, with a zero +// year (e.g., an anniversary) A year on its own, with a zero month and +// a zero day A year and month, with a zero day (e.g., a credit card +// expiration date)Related types: * google.type.TimeOfDay * +// google.type.DateTime * google.protobuf.Timestamp type Date struct { // Day: Day of a month. Must be from 1 to 31 and valid for the year and // month, or 0 to specify a year by itself or a year and month where the @@ -3659,8 +3659,9 @@ type Policy struct { // screens. // "DISABLE_FINGERPRINT" - Disable fingerprint sensor on secure // keyguard screens. - // "DISABLE_REMOTE_INPUT" - Disable text entry into notifications on - // secure keyguard screens. + // "DISABLE_REMOTE_INPUT" - On devices running Android 6 and below, + // disables text entry into notifications on secure keyguard screens. + // Has no effect on Android 7 and above. // "FACE" - Disable face authentication on secure keyguard screens. // "IRIS" - Disable iris authentication on secure keyguard screens. // "BIOMETRICS" - Disable all biometric authentication on secure diff --git a/logging/v2/logging-api.json b/logging/v2/logging-api.json index c34e6424807..259dbb9f0b9 100644 --- a/logging/v2/logging-api.json +++ b/logging/v2/logging-api.json @@ -5817,7 +5817,7 @@ } } }, - "revision": "20220204", + "revision": "20220211", "rootUrl": "https://logging.googleapis.com/", "schemas": { "BigQueryOptions": { @@ -7320,6 +7320,15 @@ "description": "Optional. If set to true, the _Default sink in newly created projects and folders will created in a disabled state. This can be used to automatically disable log ingestion if there is already an aggregated sink configured in the hierarchy. The _Default sink can be re-enabled manually if needed.", "type": "boolean" }, + "kmsKeyName": { + "description": "Optional. The resource name for the configured Cloud KMS key.KMS key name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]\" For example:\"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key\"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.", + "type": "string" + }, + "kmsServiceAccountId": { + "description": "Output only. The service account that will be used by the Log Router to access your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign the role roles/cloudkms.cryptoKeyEncrypterDecrypter to the service account that the Log Router will use to access your Cloud KMS key. Use GetSettings to obtain the service account ID.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.", + "readOnly": true, + "type": "string" + }, "name": { "description": "Output only. The resource name of the settings.", "readOnly": true, diff --git a/logging/v2/logging-gen.go b/logging/v2/logging-gen.go index 914f6ce3fcd..aa8c63f1261 100644 --- a/logging/v2/logging-gen.go +++ b/logging/v2/logging-gen.go @@ -3313,6 +3313,36 @@ type Settings struct { // sink can be re-enabled manually if needed. DisableDefaultSink bool `json:"disableDefaultSink,omitempty"` + // KmsKeyName: Optional. The resource name for the configured Cloud KMS + // key.KMS key name format: + // "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoK + // eys/[KEY]" For + // example:"projects/my-project/locations/us-central1/keyRings/my-ring/cr + // yptoKeys/my-key"To enable CMEK for the Log Router, set this field to + // a valid kms_key_name for which the associated service account has the + // required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for + // the key.The Cloud KMS key used by the Log Router can be updated by + // changing the kms_key_name to a new valid key name. Encryption + // operations that are in progress will be completed with the key that + // was in use when they started. Decryption operations will be completed + // using the key that was used at the time of encryption unless access + // to that key has been revoked.To disable CMEK for the Log Router, set + // this field to an empty string.See Enabling CMEK for Log Router + // (https://cloud.google.com/logging/docs/routing/managed-encryption) + // for more information. + KmsKeyName string `json:"kmsKeyName,omitempty"` + + // KmsServiceAccountId: Output only. The service account that will be + // used by the Log Router to access your Cloud KMS key.Before enabling + // CMEK for Log Router, you must first assign the role + // roles/cloudkms.cryptoKeyEncrypterDecrypter to the service account + // that the Log Router will use to access your Cloud KMS key. Use + // GetSettings to obtain the service account ID.See Enabling CMEK for + // Log Router + // (https://cloud.google.com/logging/docs/routing/managed-encryption) + // for more information. + KmsServiceAccountId string `json:"kmsServiceAccountId,omitempty"` + // Name: Output only. The resource name of the settings. Name string `json:"name,omitempty"` diff --git a/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-api.json b/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-api.json index b4308d36fac..3a7b26f369d 100644 --- a/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-api.json +++ b/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-api.json @@ -530,7 +530,7 @@ } } }, - "revision": "20210504", + "revision": "20220215", "rootUrl": "https://mybusinessaccountmanagement.googleapis.com/", "schemas": { "AcceptInvitationRequest": { @@ -878,7 +878,7 @@ "type": "array" }, "regionCode": { - "description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", + "description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", "type": "string" }, "revision": { diff --git a/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go b/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go index 5a542e705b2..4cc1e3fe0c5 100644 --- a/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go +++ b/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go @@ -693,8 +693,8 @@ type PostalAddress struct { // RegionCode: Required. CLDR region code of the country/region of the // address. This is never inferred and it is up to the user to ensure - // the value is correct. See http://cldr.unicode.org/ and - // http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html + // the value is correct. See https://cldr.unicode.org/ and + // https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html // for details. Example: "CH" for Switzerland. RegionCode string `json:"regionCode,omitempty"` diff --git a/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-api.json b/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-api.json index a9bef935bfe..54a41813b51 100644 --- a/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-api.json +++ b/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-api.json @@ -662,7 +662,7 @@ } } }, - "revision": "20220201", + "revision": "20220215", "rootUrl": "https://mybusinessbusinessinformation.googleapis.com/", "schemas": { "AdWordsLocationExtensions": { @@ -1487,7 +1487,7 @@ "type": "array" }, "regionCode": { - "description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", + "description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", "type": "string" }, "revision": { diff --git a/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-gen.go b/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-gen.go index dcc4c2478a9..ab1dc6738bc 100644 --- a/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-gen.go +++ b/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-gen.go @@ -1695,8 +1695,8 @@ type PostalAddress struct { // RegionCode: Required. CLDR region code of the country/region of the // address. This is never inferred and it is up to the user to ensure - // the value is correct. See http://cldr.unicode.org/ and - // http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html + // the value is correct. See https://cldr.unicode.org/ and + // https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html // for details. Example: "CH" for Switzerland. RegionCode string `json:"regionCode,omitempty"` diff --git a/mybusinessverifications/v1/mybusinessverifications-api.json b/mybusinessverifications/v1/mybusinessverifications-api.json index 7067643d5b0..a23d320f99f 100644 --- a/mybusinessverifications/v1/mybusinessverifications-api.json +++ b/mybusinessverifications/v1/mybusinessverifications-api.json @@ -256,7 +256,7 @@ } } }, - "revision": "20210824", + "revision": "20220215", "rootUrl": "https://mybusinessverifications.googleapis.com/", "schemas": { "AddressVerificationData": { @@ -461,7 +461,7 @@ "type": "array" }, "regionCode": { - "description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", + "description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", "type": "string" }, "revision": { diff --git a/mybusinessverifications/v1/mybusinessverifications-gen.go b/mybusinessverifications/v1/mybusinessverifications-gen.go index 5c3f2eb6364..f0f91ee0b56 100644 --- a/mybusinessverifications/v1/mybusinessverifications-gen.go +++ b/mybusinessverifications/v1/mybusinessverifications-gen.go @@ -612,8 +612,8 @@ type PostalAddress struct { // RegionCode: Required. CLDR region code of the country/region of the // address. This is never inferred and it is up to the user to ensure - // the value is correct. See http://cldr.unicode.org/ and - // http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html + // the value is correct. See https://cldr.unicode.org/ and + // https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html // for details. Example: "CH" for Switzerland. RegionCode string `json:"regionCode,omitempty"` diff --git a/osconfig/v1/osconfig-api.json b/osconfig/v1/osconfig-api.json index 9599a1f7d28..24877ddc922 100644 --- a/osconfig/v1/osconfig-api.json +++ b/osconfig/v1/osconfig-api.json @@ -1000,7 +1000,7 @@ } } }, - "revision": "20220103", + "revision": "20220205", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "AptSettings": { @@ -1197,7 +1197,7 @@ "type": "object" }, "Date": { - "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.", + "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day, with a zero year (e.g., an anniversary) * A year on its own, with a zero month and a zero day * A year and month, with a zero day (e.g., a credit card expiration date) Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", "id": "Date", "properties": { "day": { diff --git a/osconfig/v1/osconfig-gen.go b/osconfig/v1/osconfig-gen.go index 615af06ea3a..04cfb22aa62 100644 --- a/osconfig/v1/osconfig-gen.go +++ b/osconfig/v1/osconfig-gen.go @@ -508,11 +508,11 @@ type CancelPatchJobRequest struct { // birthday. The time of day and time zone are either specified // elsewhere or are insignificant. The date is relative to the Gregorian // Calendar. This can represent one of the following: * A full date, -// with non-zero year, month, and day values * A month and day value, -// with a zero year, such as an anniversary * A year on its own, with -// zero month and day values * A year and month value, with a zero day, -// such as a credit card expiration date Related types are -// google.type.TimeOfDay and `google.protobuf.Timestamp`. +// with non-zero year, month, and day values * A month and day, with a +// zero year (e.g., an anniversary) * A year on its own, with a zero +// month and a zero day * A year and month, with a zero day (e.g., a +// credit card expiration date) Related types: * google.type.TimeOfDay * +// google.type.DateTime * google.protobuf.Timestamp type Date struct { // Day: Day of a month. Must be from 1 to 31 and valid for the year and // month, or 0 to specify a year by itself or a year and month where the diff --git a/osconfig/v1alpha/osconfig-api.json b/osconfig/v1alpha/osconfig-api.json index 26d4d343dfd..23df0efb977 100644 --- a/osconfig/v1alpha/osconfig-api.json +++ b/osconfig/v1alpha/osconfig-api.json @@ -684,7 +684,7 @@ } } }, - "revision": "20211106", + "revision": "20220205", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "CVSSv3": { @@ -840,7 +840,7 @@ "type": "object" }, "Date": { - "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.", + "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day, with a zero year (e.g., an anniversary) * A year on its own, with a zero month and a zero day * A year and month, with a zero day (e.g., a credit card expiration date) Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", "id": "Date", "properties": { "day": { diff --git a/osconfig/v1alpha/osconfig-gen.go b/osconfig/v1alpha/osconfig-gen.go index 2cdb9496a92..7ab73d9c7ae 100644 --- a/osconfig/v1alpha/osconfig-gen.go +++ b/osconfig/v1alpha/osconfig-gen.go @@ -434,11 +434,11 @@ type CancelOperationRequest struct { // birthday. The time of day and time zone are either specified // elsewhere or are insignificant. The date is relative to the Gregorian // Calendar. This can represent one of the following: * A full date, -// with non-zero year, month, and day values * A month and day value, -// with a zero year, such as an anniversary * A year on its own, with -// zero month and day values * A year and month value, with a zero day, -// such as a credit card expiration date Related types are -// google.type.TimeOfDay and `google.protobuf.Timestamp`. +// with non-zero year, month, and day values * A month and day, with a +// zero year (e.g., an anniversary) * A year on its own, with a zero +// month and a zero day * A year and month, with a zero day (e.g., a +// credit card expiration date) Related types: * google.type.TimeOfDay * +// google.type.DateTime * google.protobuf.Timestamp type Date struct { // Day: Day of a month. Must be from 1 to 31 and valid for the year and // month, or 0 to specify a year by itself or a year and month where the diff --git a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-api.json b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-api.json index 1a2fbe1c218..94e4b1c2b7e 100644 --- a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-api.json +++ b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-api.json @@ -2527,7 +2527,7 @@ } } }, - "revision": "20220205", + "revision": "20220215", "rootUrl": "https://prod-tt-sasportal.googleapis.com/", "schemas": { "SasPortalAssignment": { @@ -2916,6 +2916,11 @@ "description": "Output only. Whether a CPI has validated to have coordinated with the National Quiet Zone office.", "readOnly": true, "type": "boolean" + }, + "nrqzValidation": { + "$ref": "SasPortalNrqzValidation", + "description": "Output only. National Radio Quiet Zone validation info.", + "readOnly": true } }, "type": "object" @@ -3223,6 +3228,31 @@ }, "type": "object" }, + "SasPortalNrqzValidation": { + "description": "Information about National Radio Quiet Zone validation. The presence of the field indicates the device has been validated.", + "id": "SasPortalNrqzValidation", + "properties": { + "caseId": { + "description": "Validation case id.", + "type": "string" + }, + "cpiId": { + "description": "CPI who signed the validation.", + "type": "string" + }, + "latitude": { + "description": "Device latitude associated with the validation.", + "format": "double", + "type": "number" + }, + "longitude": { + "description": "Device longitude associated with the validation.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, "SasPortalOperation": { "description": "This resource represents a long-running operation that is the result of a network API call.", "id": "SasPortalOperation", diff --git a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go index cb12a177769..df3fbee7032 100644 --- a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go +++ b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go @@ -867,6 +867,10 @@ type SasPortalDeviceMetadata struct { // coordinated with the National Quiet Zone office. NrqzValidated bool `json:"nrqzValidated,omitempty"` + // NrqzValidation: Output only. National Radio Quiet Zone validation + // info. + NrqzValidation *SasPortalNrqzValidation `json:"nrqzValidation,omitempty"` + // ForceSendFields is a list of field names (e.g. "AntennaModel") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -1496,6 +1500,61 @@ func (s *SasPortalNode) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// SasPortalNrqzValidation: Information about National Radio Quiet Zone +// validation. The presence of the field indicates the device has been +// validated. +type SasPortalNrqzValidation struct { + // CaseId: Validation case id. + CaseId string `json:"caseId,omitempty"` + + // CpiId: CPI who signed the validation. + CpiId string `json:"cpiId,omitempty"` + + // Latitude: Device latitude associated with the validation. + Latitude float64 `json:"latitude,omitempty"` + + // Longitude: Device longitude associated with the validation. + Longitude float64 `json:"longitude,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CaseId") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "CaseId") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *SasPortalNrqzValidation) MarshalJSON() ([]byte, error) { + type NoMethod SasPortalNrqzValidation + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *SasPortalNrqzValidation) UnmarshalJSON(data []byte) error { + type NoMethod SasPortalNrqzValidation + var s1 struct { + Latitude gensupport.JSONFloat64 `json:"latitude"` + Longitude gensupport.JSONFloat64 `json:"longitude"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Latitude = float64(s1.Latitude) + s.Longitude = float64(s1.Longitude) + return nil +} + // SasPortalOperation: This resource represents a long-running operation // that is the result of a network API call. type SasPortalOperation struct { diff --git a/storage/v1/storage-api.json b/storage/v1/storage-api.json index 2ab3afeea7d..0493a62d15b 100644 --- a/storage/v1/storage-api.json +++ b/storage/v1/storage-api.json @@ -26,7 +26,7 @@ "description": "Stores and retrieves potentially large, immutable data objects.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/storage/docs/json_api/", - "etag": "\"3137363332383633313735343831303635323033\"", + "etag": "\"3137353238303035303136333633393332333233\"", "icons": { "x16": "https://www.google.com/images/icons/product/cloud_storage-16.png", "x32": "https://www.google.com/images/icons/product/cloud_storage-32.png" @@ -79,6 +79,11 @@ "location": "query", "type": "string" }, + "uploadType": { + "description": "Upload protocol for media (e.g. \"media\", \"multipart\", \"resumable\").", + "location": "query", + "type": "string" + }, "userIp": { "description": "Deprecated. Please use quotaUser instead.", "location": "query", @@ -3230,7 +3235,7 @@ } } }, - "revision": "20211201", + "revision": "20220210", "rootUrl": "https://storage.googleapis.com/", "schemas": { "Bucket": {