diff --git a/androidmanagement/v1/androidmanagement-api.json b/androidmanagement/v1/androidmanagement-api.json index d9347bdba27..4d654b8ff88 100644 --- a/androidmanagement/v1/androidmanagement-api.json +++ b/androidmanagement/v1/androidmanagement-api.json @@ -1168,7 +1168,7 @@ } } }, - "revision": "20241203", + "revision": "20241204", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { @@ -6640,11 +6640,13 @@ "description": "Required. Wi-Fi roaming mode for the specified SSID.", "enum": [ "WIFI_ROAMING_MODE_UNSPECIFIED", + "WIFI_ROAMING_DISABLED", "WIFI_ROAMING_DEFAULT", "WIFI_ROAMING_AGGRESSIVE" ], "enumDescriptions": [ "Unspecified. Defaults to WIFI_ROAMING_DEFAULT.", + "Wi-Fi roaming is disabled. Supported on Android 15 and above on fully managed devices and work profiles on company-owned devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for other management modes. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 15.", "Default Wi-Fi roaming mode of the device.", "Aggressive roaming mode which allows quicker Wi-Fi roaming. Supported on Android 15 and above on fully managed devices and work profiles on company-owned devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for other management modes. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 15. A nonComplianceDetail with DEVICE_INCOMPATIBLE is reported if the device does not support aggressive roaming mode." ], diff --git a/androidmanagement/v1/androidmanagement-gen.go b/androidmanagement/v1/androidmanagement-gen.go index fbf703ab092..318233fba53 100644 --- a/androidmanagement/v1/androidmanagement-gen.go +++ b/androidmanagement/v1/androidmanagement-gen.go @@ -6723,6 +6723,11 @@ type WifiRoamingSetting struct { // Possible values: // "WIFI_ROAMING_MODE_UNSPECIFIED" - Unspecified. Defaults to // WIFI_ROAMING_DEFAULT. + // "WIFI_ROAMING_DISABLED" - Wi-Fi roaming is disabled. Supported on Android + // 15 and above on fully managed devices and work profiles on company-owned + // devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for other + // management modes. A nonComplianceDetail with API_LEVEL is reported if the + // Android version is less than 15. // "WIFI_ROAMING_DEFAULT" - Default Wi-Fi roaming mode of the device. // "WIFI_ROAMING_AGGRESSIVE" - Aggressive roaming mode which allows quicker // Wi-Fi roaming. Supported on Android 15 and above on fully managed devices diff --git a/checks/v1alpha/checks-api.json b/checks/v1alpha/checks-api.json index c66991658d8..01581780e48 100644 --- a/checks/v1alpha/checks-api.json +++ b/checks/v1alpha/checks-api.json @@ -552,7 +552,7 @@ } } }, - "revision": "20241124", + "revision": "20241203", "rootUrl": "https://checks.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -682,9 +682,9 @@ "The model generates content that is malicious, intimidating, bullying, or abusive towards another individual.", "The model generates content that is sexually explicit in nature.", "The model promotes violence, hatred, discrimination on the basis of race, religion, etc.", - "The model facilitates harm by providing health advice or guidance.", + "The model provides or offers to facilitate access to medical advice or guidance.", "The model generates content that contains gratuitous, realistic descriptions of violence or gore.", - "" + "The model generates profanity and obscenities." ], "type": "string" }, @@ -734,9 +734,9 @@ "The model generates content that is malicious, intimidating, bullying, or abusive towards another individual.", "The model generates content that is sexually explicit in nature.", "The model promotes violence, hatred, discrimination on the basis of race, religion, etc.", - "The model facilitates harm by providing health advice or guidance.", + "The model provides or offers to facilitate access to medical advice or guidance.", "The model generates content that contains gratuitous, realistic descriptions of violence or gore.", - "" + "The model generates profanity and obscenities." ], "type": "string" }, diff --git a/checks/v1alpha/checks-gen.go b/checks/v1alpha/checks-gen.go index a4b2a3b7ae2..31536b3a7f2 100644 --- a/checks/v1alpha/checks-gen.go +++ b/checks/v1alpha/checks-gen.go @@ -415,11 +415,11 @@ type GoogleChecksAisafetyV1alphaClassifyContentRequestPolicyConfig struct { // explicit in nature. // "HATE_SPEECH" - The model promotes violence, hatred, discrimination on the // basis of race, religion, etc. - // "MEDICAL_INFO" - The model facilitates harm by providing health advice or - // guidance. + // "MEDICAL_INFO" - The model provides or offers to facilitate access to + // medical advice or guidance. // "VIOLENCE_AND_GORE" - The model generates content that contains // gratuitous, realistic descriptions of violence or gore. - // "OBSCENITY_AND_PROFANITY" + // "OBSCENITY_AND_PROFANITY" - The model generates profanity and obscenities. PolicyType string `json:"policyType,omitempty"` // Threshold: Optional. Score threshold to use when deciding if the content is // violative or non-violative. If not specified, the default 0.5 threshold for @@ -500,11 +500,11 @@ type GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult struct { // explicit in nature. // "HATE_SPEECH" - The model promotes violence, hatred, discrimination on the // basis of race, religion, etc. - // "MEDICAL_INFO" - The model facilitates harm by providing health advice or - // guidance. + // "MEDICAL_INFO" - The model provides or offers to facilitate access to + // medical advice or guidance. // "VIOLENCE_AND_GORE" - The model generates content that contains // gratuitous, realistic descriptions of violence or gore. - // "OBSCENITY_AND_PROFANITY" + // "OBSCENITY_AND_PROFANITY" - The model generates profanity and obscenities. PolicyType string `json:"policyType,omitempty"` // Score: Final score for the results of this policy. Score float64 `json:"score,omitempty"` diff --git a/cloudchannel/v1/cloudchannel-api.json b/cloudchannel/v1/cloudchannel-api.json index 68d08366127..d72a3e5a69d 100644 --- a/cloudchannel/v1/cloudchannel-api.json +++ b/cloudchannel/v1/cloudchannel-api.json @@ -2289,7 +2289,7 @@ } } }, - "revision": "20241116", + "revision": "20241202", "rootUrl": "https://cloudchannel.googleapis.com/", "schemas": { "GoogleCloudChannelV1ActivateEntitlementRequest": { @@ -5962,18 +5962,18 @@ "type": "object" }, "GoogleTypePostalAddress": { - "description": "Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478", + "description": "Represents a postal address. For example for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478", "id": "GoogleTypePostalAddress", "properties": { "addressLines": { - "description": "Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", + "description": "Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (For example \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country/region of the address. In places where this can vary (For example Japan), address_language is used to make it explicit (For example \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", "items": { "type": "string" }, "type": "array" }, "administrativeArea": { - "description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.", + "description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (For example \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example in Switzerland this should be left unpopulated.", "type": "string" }, "languageCode": { @@ -5989,7 +5989,7 @@ "type": "string" }, "postalCode": { - "description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).", + "description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (For example state/zip validation in the U.S.A.).", "type": "string" }, "recipients": { @@ -6009,7 +6009,7 @@ "type": "integer" }, "sortingCode": { - "description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (e.g. \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (e.g. Côte d'Ivoire).", + "description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (For example \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (For example Côte d'Ivoire).", "type": "string" }, "sublocality": { @@ -6024,11 +6024,11 @@ "id": "GoogleTypeTimeZone", "properties": { "id": { - "description": "IANA Time Zone Database time zone, e.g. \"America/New_York\".", + "description": "IANA Time Zone Database time zone. For example \"America/New_York\".", "type": "string" }, "version": { - "description": "Optional. IANA Time Zone Database version number, e.g. \"2019a\".", + "description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", "type": "string" } }, diff --git a/cloudchannel/v1/cloudchannel-gen.go b/cloudchannel/v1/cloudchannel-gen.go index 35e60e85d65..973637b34c3 100644 --- a/cloudchannel/v1/cloudchannel-gen.go +++ b/cloudchannel/v1/cloudchannel-gen.go @@ -5152,42 +5152,43 @@ func (s GoogleTypeMoney) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// GoogleTypePostalAddress: Represents a postal address, e.g. for postal +// GoogleTypePostalAddress: Represents a postal address. For example for postal // delivery or payments addresses. Given a postal address, a postal service can // deliver items to a premise, P.O. Box or similar. It is not intended to model // geographical locations (roads, towns, mountains). In typical usage an -// address would be created via user input or from importing existing data, +// address would be created by user input or from importing existing data, // depending on the type of process. Advice on address input / editing: - Use // an internationalization-ready address widget such as // https://github.com/google/libaddressinput) - Users should not be presented // with UI elements for input or editing of fields outside countries where that -// field is used. For more guidance on how to use this schema, please see: +// field is used. For more guidance on how to use this schema, see: // https://support.google.com/business/answer/6397478 type GoogleTypePostalAddress struct { // AddressLines: Unstructured address lines describing the lower levels of an // address. Because values in address_lines do not have type information and - // may sometimes contain multiple values in a single field (e.g. "Austin, TX"), - // it is important that the line order is clear. The order of address lines - // should be "envelope order" for the country/region of the address. In places - // where this can vary (e.g. Japan), address_language is used to make it - // explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for - // small-to-large). This way, the most specific line of an address can be - // selected based on the language. The minimum permitted structural - // representation of an address consists of a region_code with all remaining - // information placed in the address_lines. It would be possible to format such - // an address very approximately without geocoding, but no semantic reasoning - // could be made about any of the address components until it was at least - // partially resolved. Creating an address only containing a region_code and - // address_lines, and then geocoding is the recommended way to handle + // may sometimes contain multiple values in a single field (For example + // "Austin, TX"), it is important that the line order is clear. The order of + // address lines should be "envelope order" for the country/region of the + // address. In places where this can vary (For example Japan), address_language + // is used to make it explicit (For example "ja" for large-to-small ordering + // and "ja-Latn" or "en" for small-to-large). This way, the most specific line + // of an address can be selected based on the language. The minimum permitted + // structural representation of an address consists of a region_code with all + // remaining information placed in the address_lines. It would be possible to + // format such an address very approximately without geocoding, but no semantic + // reasoning could be made about any of the address components until it was at + // least partially resolved. Creating an address only containing a region_code + // and address_lines, and then geocoding is the recommended way to handle // completely unstructured addresses (as opposed to guessing which parts of the // address should be localities or administrative areas). AddressLines []string `json:"addressLines,omitempty"` // AdministrativeArea: Optional. Highest administrative subdivision which is // used for postal addresses of a country or region. For example, this can be a // state, a province, an oblast, or a prefecture. Specifically, for Spain this - // is the province and not the autonomous community (e.g. "Barcelona" and not - // "Catalonia"). Many countries don't use an administrative area in postal - // addresses. E.g. in Switzerland this should be left unpopulated. + // is the province and not the autonomous community (For example "Barcelona" + // and not "Catalonia"). Many countries don't use an administrative area in + // postal addresses. For example in Switzerland this should be left + // unpopulated. AdministrativeArea string `json:"administrativeArea,omitempty"` // LanguageCode: Optional. BCP-47 language code of the contents of this address // (if known). This is often the UI language of the input form or is expected @@ -5207,7 +5208,7 @@ type GoogleTypePostalAddress struct { Organization string `json:"organization,omitempty"` // PostalCode: Optional. Postal code of the address. Not all countries use or // require postal codes to be present, but where they are used, they may - // trigger additional validation with other parts of the address (e.g. + // trigger additional validation with other parts of the address (For example // state/zip validation in the U.S.A.). PostalCode string `json:"postalCode,omitempty"` // Recipients: Optional. The recipient at the address. This field may, under @@ -5226,9 +5227,10 @@ type GoogleTypePostalAddress struct { Revision int64 `json:"revision,omitempty"` // SortingCode: Optional. Additional, country-specific, sorting code. This is // not used in most regions. Where it is used, the value is either a string - // like "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a - // number alone, representing the "sector code" (Jamaica), "delivery area - // indicator" (Malawi) or "post office indicator" (e.g. Côte d'Ivoire). + // like "CEDEX", optionally followed by a number (For example "CEDEX 7"), or + // just a number alone, representing the "sector code" (Jamaica), "delivery + // area indicator" (Malawi) or "post office indicator" (For example Côte + // d'Ivoire). SortingCode string `json:"sortingCode,omitempty"` // Sublocality: Optional. Sublocality of the address. For example, this can be // neighborhoods, boroughs, districts. @@ -5254,9 +5256,10 @@ func (s GoogleTypePostalAddress) MarshalJSON() ([]byte, error) { // GoogleTypeTimeZone: Represents a time zone from the IANA Time Zone Database // (https://www.iana.org/time-zones). type GoogleTypeTimeZone struct { - // Id: IANA Time Zone Database time zone, e.g. "America/New_York". + // Id: IANA Time Zone Database time zone. For example "America/New_York". Id string `json:"id,omitempty"` - // Version: Optional. IANA Time Zone Database version number, e.g. "2019a". + // Version: Optional. IANA Time Zone Database version number. For example + // "2019a". Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Id") to unconditionally // include in API requests. By default, fields with empty or default values are diff --git a/contentwarehouse/v1/contentwarehouse-api.json b/contentwarehouse/v1/contentwarehouse-api.json index 07ace1d74d7..5e54487c341 100644 --- a/contentwarehouse/v1/contentwarehouse-api.json +++ b/contentwarehouse/v1/contentwarehouse-api.json @@ -1156,7 +1156,7 @@ } } }, - "revision": "20240723", + "revision": "20241204", "rootUrl": "https://contentwarehouse.googleapis.com/", "schemas": { "CloudAiPlatformTenantresourceCloudSqlInstanceConfig": { @@ -5816,18 +5816,18 @@ "type": "object" }, "GoogleTypePostalAddress": { - "description": "Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478", + "description": "Represents a postal address. For example for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478", "id": "GoogleTypePostalAddress", "properties": { "addressLines": { - "description": "Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", + "description": "Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (For example \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country/region of the address. In places where this can vary (For example Japan), address_language is used to make it explicit (For example \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", "items": { "type": "string" }, "type": "array" }, "administrativeArea": { - "description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.", + "description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (For example \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example in Switzerland this should be left unpopulated.", "type": "string" }, "languageCode": { @@ -5843,7 +5843,7 @@ "type": "string" }, "postalCode": { - "description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).", + "description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (For example state/zip validation in the U.S.A.).", "type": "string" }, "recipients": { @@ -5863,7 +5863,7 @@ "type": "integer" }, "sortingCode": { - "description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (e.g. \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (e.g. Côte d'Ivoire).", + "description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (For example \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (For example Côte d'Ivoire).", "type": "string" }, "sublocality": { @@ -5878,11 +5878,11 @@ "id": "GoogleTypeTimeZone", "properties": { "id": { - "description": "IANA Time Zone Database time zone, e.g. \"America/New_York\".", + "description": "IANA Time Zone Database time zone. For example \"America/New_York\".", "type": "string" }, "version": { - "description": "Optional. IANA Time Zone Database version number, e.g. \"2019a\".", + "description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", "type": "string" } }, diff --git a/contentwarehouse/v1/contentwarehouse-gen.go b/contentwarehouse/v1/contentwarehouse-gen.go index a9b312f470a..937b7040f3b 100644 --- a/contentwarehouse/v1/contentwarehouse-gen.go +++ b/contentwarehouse/v1/contentwarehouse-gen.go @@ -6634,42 +6634,43 @@ func (s GoogleTypeMoney) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// GoogleTypePostalAddress: Represents a postal address, e.g. for postal +// GoogleTypePostalAddress: Represents a postal address. For example for postal // delivery or payments addresses. Given a postal address, a postal service can // deliver items to a premise, P.O. Box or similar. It is not intended to model // geographical locations (roads, towns, mountains). In typical usage an -// address would be created via user input or from importing existing data, +// address would be created by user input or from importing existing data, // depending on the type of process. Advice on address input / editing: - Use // an internationalization-ready address widget such as // https://github.com/google/libaddressinput) - Users should not be presented // with UI elements for input or editing of fields outside countries where that -// field is used. For more guidance on how to use this schema, please see: +// field is used. For more guidance on how to use this schema, see: // https://support.google.com/business/answer/6397478 type GoogleTypePostalAddress struct { // AddressLines: Unstructured address lines describing the lower levels of an // address. Because values in address_lines do not have type information and - // may sometimes contain multiple values in a single field (e.g. "Austin, TX"), - // it is important that the line order is clear. The order of address lines - // should be "envelope order" for the country/region of the address. In places - // where this can vary (e.g. Japan), address_language is used to make it - // explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for - // small-to-large). This way, the most specific line of an address can be - // selected based on the language. The minimum permitted structural - // representation of an address consists of a region_code with all remaining - // information placed in the address_lines. It would be possible to format such - // an address very approximately without geocoding, but no semantic reasoning - // could be made about any of the address components until it was at least - // partially resolved. Creating an address only containing a region_code and - // address_lines, and then geocoding is the recommended way to handle + // may sometimes contain multiple values in a single field (For example + // "Austin, TX"), it is important that the line order is clear. The order of + // address lines should be "envelope order" for the country/region of the + // address. In places where this can vary (For example Japan), address_language + // is used to make it explicit (For example "ja" for large-to-small ordering + // and "ja-Latn" or "en" for small-to-large). This way, the most specific line + // of an address can be selected based on the language. The minimum permitted + // structural representation of an address consists of a region_code with all + // remaining information placed in the address_lines. It would be possible to + // format such an address very approximately without geocoding, but no semantic + // reasoning could be made about any of the address components until it was at + // least partially resolved. Creating an address only containing a region_code + // and address_lines, and then geocoding is the recommended way to handle // completely unstructured addresses (as opposed to guessing which parts of the // address should be localities or administrative areas). AddressLines []string `json:"addressLines,omitempty"` // AdministrativeArea: Optional. Highest administrative subdivision which is // used for postal addresses of a country or region. For example, this can be a // state, a province, an oblast, or a prefecture. Specifically, for Spain this - // is the province and not the autonomous community (e.g. "Barcelona" and not - // "Catalonia"). Many countries don't use an administrative area in postal - // addresses. E.g. in Switzerland this should be left unpopulated. + // is the province and not the autonomous community (For example "Barcelona" + // and not "Catalonia"). Many countries don't use an administrative area in + // postal addresses. For example in Switzerland this should be left + // unpopulated. AdministrativeArea string `json:"administrativeArea,omitempty"` // LanguageCode: Optional. BCP-47 language code of the contents of this address // (if known). This is often the UI language of the input form or is expected @@ -6689,7 +6690,7 @@ type GoogleTypePostalAddress struct { Organization string `json:"organization,omitempty"` // PostalCode: Optional. Postal code of the address. Not all countries use or // require postal codes to be present, but where they are used, they may - // trigger additional validation with other parts of the address (e.g. + // trigger additional validation with other parts of the address (For example // state/zip validation in the U.S.A.). PostalCode string `json:"postalCode,omitempty"` // Recipients: Optional. The recipient at the address. This field may, under @@ -6708,9 +6709,10 @@ type GoogleTypePostalAddress struct { Revision int64 `json:"revision,omitempty"` // SortingCode: Optional. Additional, country-specific, sorting code. This is // not used in most regions. Where it is used, the value is either a string - // like "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a - // number alone, representing the "sector code" (Jamaica), "delivery area - // indicator" (Malawi) or "post office indicator" (e.g. Côte d'Ivoire). + // like "CEDEX", optionally followed by a number (For example "CEDEX 7"), or + // just a number alone, representing the "sector code" (Jamaica), "delivery + // area indicator" (Malawi) or "post office indicator" (For example Côte + // d'Ivoire). SortingCode string `json:"sortingCode,omitempty"` // Sublocality: Optional. Sublocality of the address. For example, this can be // neighborhoods, boroughs, districts. @@ -6736,9 +6738,10 @@ func (s GoogleTypePostalAddress) MarshalJSON() ([]byte, error) { // GoogleTypeTimeZone: Represents a time zone from the IANA Time Zone Database // (https://www.iana.org/time-zones). type GoogleTypeTimeZone struct { - // Id: IANA Time Zone Database time zone, e.g. "America/New_York". + // Id: IANA Time Zone Database time zone. For example "America/New_York". Id string `json:"id,omitempty"` - // Version: Optional. IANA Time Zone Database version number, e.g. "2019a". + // Version: Optional. IANA Time Zone Database version number. For example + // "2019a". Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Id") to unconditionally // include in API requests. By default, fields with empty or default values are diff --git a/firebaseappdistribution/v1alpha/firebaseappdistribution-api.json b/firebaseappdistribution/v1alpha/firebaseappdistribution-api.json index 0962da59887..34fb5125106 100644 --- a/firebaseappdistribution/v1alpha/firebaseappdistribution-api.json +++ b/firebaseappdistribution/v1alpha/firebaseappdistribution-api.json @@ -776,7 +776,7 @@ } } }, - "revision": "20241121", + "revision": "20241204", "rootUrl": "https://firebaseappdistribution.googleapis.com/", "schemas": { "AndroidxCrawlerOutputPoint": { @@ -988,6 +988,7 @@ "type": "object" }, "GoogleFirebaseAppdistroV1alphaApp": { + "description": "An app.", "id": "GoogleFirebaseAppdistroV1alphaApp", "properties": { "aabCertificate": { @@ -1085,6 +1086,7 @@ "type": "object" }, "GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest": { + "description": "The request message for `CreateReleaseNotes`.", "id": "GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest", "properties": { "releaseNotes": { @@ -1095,6 +1097,7 @@ "type": "object" }, "GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse": { + "description": "The response message for `CreateReleaseNotes`.", "id": "GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse", "properties": {}, "type": "object" @@ -1310,6 +1313,7 @@ "type": "object" }, "GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest": { + "description": "The request message for `EnableAccessOnRelease`.", "id": "GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest", "properties": { "buildVersion": { @@ -1340,6 +1344,7 @@ "type": "object" }, "GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse": { + "description": "The response message for `EnableAccessOnRelease`.", "id": "GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse", "properties": {}, "type": "object" @@ -1370,6 +1375,7 @@ "type": "object" }, "GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse": { + "description": "The response message for `GetUploadStatus`.", "id": "GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse", "properties": { "errorCode": { @@ -1442,11 +1448,11 @@ "ERROR" ], "enumDescriptions": [ - "", - "", - "", - "", - "" + "Status unspecified.", + "The upload is in progress.", + "The binary has already been uploaded.", + "The upload was successful.", + "The upload failed." ], "type": "string" } @@ -1491,9 +1497,11 @@ "type": "object" }, "GoogleFirebaseAppdistroV1alphaJwt": { + "description": "A JWT token.", "id": "GoogleFirebaseAppdistroV1alphaJwt", "properties": { "token": { + "description": "The JWT token (three Base64URL-encoded strings joined by dots).", "type": "string" } }, @@ -1574,6 +1582,7 @@ "type": "object" }, "GoogleFirebaseAppdistroV1alphaProvisionAppResponse": { + "description": "The response message for `ProvisionApp`.", "id": "GoogleFirebaseAppdistroV1alphaProvisionAppResponse", "properties": {}, "type": "object" @@ -1637,9 +1646,11 @@ "type": "object" }, "GoogleFirebaseAppdistroV1alphaReleaseNotes": { + "description": "Release notes for a release.", "id": "GoogleFirebaseAppdistroV1alphaReleaseNotes", "properties": { "releaseNotes": { + "description": "The actual release notes text from the user.", "type": "string" } }, @@ -1678,6 +1689,10 @@ "description": "The name of the release test resource. Format: `projects/{project_number}/apps/{app_id}/releases/{release_id}/tests/{test_id}`", "type": "string" }, + "testCase": { + "description": "Optional. The test case that was used to generate this release test. Note: The test case may have changed or been deleted since the release test was created. Format: `projects/{project_number}/apps/{app}/testCases/{test_case}`", + "type": "string" + }, "testState": { "description": "Output only. The state of the release test.", "enum": [ diff --git a/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go b/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go index 56e2893ecab..2e0589807bc 100644 --- a/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go +++ b/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go @@ -541,6 +541,7 @@ func (s GoogleFirebaseAppdistroV1alphaAiStepResult) MarshalJSON() ([]byte, error return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleFirebaseAppdistroV1alphaApp: An app. type GoogleFirebaseAppdistroV1alphaApp struct { // AabCertificate: App bundle test certificate generated for the app. AabCertificate *GoogleFirebaseAppdistroV1alphaAabCertificate `json:"aabCertificate,omitempty"` @@ -652,6 +653,8 @@ type GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse struct { googleapi.ServerResponse `json:"-"` } +// GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest: The request message +// for `CreateReleaseNotes`. type GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest struct { // ReleaseNotes: The actual release notes body from the user ReleaseNotes *GoogleFirebaseAppdistroV1alphaReleaseNotes `json:"releaseNotes,omitempty"` @@ -673,6 +676,8 @@ func (s GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest) MarshalJSON() ( return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse: The response +// message for `CreateReleaseNotes`. type GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` @@ -872,6 +877,8 @@ func (s GoogleFirebaseAppdistroV1alphaDeviceInteractionWait) MarshalJSON() ([]by return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest: The request +// message for `EnableAccessOnRelease`. type GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest struct { // BuildVersion: Optional. Ignored. Used to be build version of the app release // if an instance identifier was provided for the release_id. @@ -904,6 +911,8 @@ func (s GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest) MarshalJSON( return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse: The response +// message for `EnableAccessOnRelease`. type GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` @@ -961,6 +970,8 @@ func (s GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse) MarshalJSON() ([]b return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse: The response message +// for `GetUploadStatus`. type GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse struct { // ErrorCode: The error code associated with (only set on "FAILURE") // @@ -997,11 +1008,11 @@ type GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse struct { // Status: The status of the upload // // Possible values: - // "STATUS_UNSPECIFIED" - // "IN_PROGRESS" - // "ALREADY_UPLOADED" - // "SUCCESS" - // "ERROR" + // "STATUS_UNSPECIFIED" - Status unspecified. + // "IN_PROGRESS" - The upload is in progress. + // "ALREADY_UPLOADED" - The binary has already been uploaded. + // "SUCCESS" - The upload was successful. + // "ERROR" - The upload failed. Status string `json:"status,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. @@ -1076,7 +1087,9 @@ func (s GoogleFirebaseAppdistroV1alphaGoalDetails) MarshalJSON() ([]byte, error) return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleFirebaseAppdistroV1alphaJwt: A JWT token. type GoogleFirebaseAppdistroV1alphaJwt struct { + // Token: The JWT token (three Base64URL-encoded strings joined by dots). Token string `json:"token,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. @@ -1218,6 +1231,8 @@ func (s GoogleFirebaseAppdistroV1alphaLoginCredentialFieldHints) MarshalJSON() ( return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleFirebaseAppdistroV1alphaProvisionAppResponse: The response message for +// `ProvisionApp`. type GoogleFirebaseAppdistroV1alphaProvisionAppResponse struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` @@ -1266,7 +1281,9 @@ func (s GoogleFirebaseAppdistroV1alphaRelease) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleFirebaseAppdistroV1alphaReleaseNotes: Release notes for a release. type GoogleFirebaseAppdistroV1alphaReleaseNotes struct { + // ReleaseNotes: The actual release notes text from the user. ReleaseNotes string `json:"releaseNotes,omitempty"` // ForceSendFields is a list of field names (e.g. "ReleaseNotes") to // unconditionally include in API requests. By default, fields with empty or @@ -1305,6 +1322,11 @@ type GoogleFirebaseAppdistroV1alphaReleaseTest struct { // `projects/{project_number}/apps/{app_id}/releases/{release_id}/tests/{test_id // }` Name string `json:"name,omitempty"` + // TestCase: Optional. The test case that was used to generate this release + // test. Note: The test case may have changed or been deleted since the release + // test was created. Format: + // `projects/{project_number}/apps/{app}/testCases/{test_case}` + TestCase string `json:"testCase,omitempty"` // TestState: Output only. The state of the release test. // // Possible values: diff --git a/firebasehosting/v1/firebasehosting-api.json b/firebasehosting/v1/firebasehosting-api.json index 4b9d161f6c6..976c16f5bc1 100644 --- a/firebasehosting/v1/firebasehosting-api.json +++ b/firebasehosting/v1/firebasehosting-api.json @@ -111,7 +111,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "firebasehosting.operations.cancel", @@ -269,7 +269,7 @@ } } }, - "revision": "20240319", + "revision": "20241203", "rootUrl": "https://firebasehosting.googleapis.com/", "schemas": { "CancelOperationRequest": { diff --git a/firebasehosting/v1/firebasehosting-gen.go b/firebasehosting/v1/firebasehosting-gen.go index fe77535ae7b..f8e1bf7489b 100644 --- a/firebasehosting/v1/firebasehosting-gen.go +++ b/firebasehosting/v1/firebasehosting-gen.go @@ -731,7 +731,7 @@ type OperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. diff --git a/firebaseml/v2beta/firebaseml-api.json b/firebaseml/v2beta/firebaseml-api.json index 54d8246b436..2b603067360 100644 --- a/firebaseml/v2beta/firebaseml-api.json +++ b/firebaseml/v2beta/firebaseml-api.json @@ -206,7 +206,7 @@ } } }, - "revision": "20241117", + "revision": "20241203", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "Date": { @@ -825,6 +825,25 @@ "description": "Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.", "type": "string" }, + "responseModalities": { + "description": "Optional. The modalities of the response.", + "items": { + "enum": [ + "MODALITY_UNSPECIFIED", + "TEXT", + "IMAGE", + "AUDIO" + ], + "enumDescriptions": [ + "Unspecified modality. Will be processed as text.", + "Text modality.", + "Image modality.", + "Audio modality." + ], + "type": "string" + }, + "type": "array" + }, "responseSchema": { "$ref": "GoogleCloudAiplatformV1beta1Schema", "description": "Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response." @@ -838,6 +857,10 @@ "format": "int32", "type": "integer" }, + "speechConfig": { + "$ref": "GoogleCloudAiplatformV1beta1SpeechConfig", + "description": "Optional. The speech generation config." + }, "stopSequences": { "description": "Optional. Stop sequences.", "items": { @@ -850,6 +873,22 @@ "format": "float", "type": "number" }, + "tokenResolution": { + "description": "Optional. If specified, the token resolution specified will be used.", + "enum": [ + "TOKEN_RESOLUTION_UNSPECIFIED", + "TOKEN_RESOLUTION_LOW", + "TOKEN_RESOLUTION_MEDIUM", + "TOKEN_RESOLUTION_HIGH" + ], + "enumDescriptions": [ + "Token resolution has not been set.", + "Token resolution set to low (64 tokens).", + "Token resolution set to medium (256 tokens).", + "Token resolution set to high (P\u0026S with 256 tokens)." + ], + "type": "string" + }, "topK": { "description": "Optional. If specified, top-k sampling will be used.", "format": "float", @@ -1138,6 +1177,17 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig": { + "description": "The configuration for the prebuilt speaker to use.", + "id": "GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig", + "properties": { + "voiceName": { + "description": "The name of the preset voice to use.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1RagRetrievalConfig": { "description": "Specifies the context retrieval config.", "id": "GoogleCloudAiplatformV1beta1RagRetrievalConfig", @@ -1590,6 +1640,17 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1SpeechConfig": { + "description": "The speech generation config.", + "id": "GoogleCloudAiplatformV1beta1SpeechConfig", + "properties": { + "voiceConfig": { + "$ref": "GoogleCloudAiplatformV1beta1VoiceConfig", + "description": "The configuration for the speaker to use." + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1Tool": { "description": "Tool details that the model may use to generate response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. A Tool object should contain exactly one type of Tool (e.g FunctionDeclaration, Retrieval or GoogleSearchRetrieval).", "id": "GoogleCloudAiplatformV1beta1Tool", @@ -1605,6 +1666,10 @@ }, "type": "array" }, + "googleSearch": { + "$ref": "GoogleCloudAiplatformV1beta1ToolGoogleSearch", + "description": "Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google." + }, "googleSearchRetrieval": { "$ref": "GoogleCloudAiplatformV1beta1GoogleSearchRetrieval", "description": "Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search." @@ -1633,6 +1698,12 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1ToolGoogleSearch": { + "description": "GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.", + "id": "GoogleCloudAiplatformV1beta1ToolGoogleSearch", + "properties": {}, + "type": "object" + }, "GoogleCloudAiplatformV1beta1VertexAISearch": { "description": "Retrieve from Vertex AI Search datastore for grounding. See https://cloud.google.com/products/agent-builder", "id": "GoogleCloudAiplatformV1beta1VertexAISearch", @@ -1717,6 +1788,17 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1VoiceConfig": { + "description": "The configuration for the voice to use.", + "id": "GoogleCloudAiplatformV1beta1VoiceConfig", + "properties": { + "prebuiltVoiceConfig": { + "$ref": "GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig", + "description": "The configuration for the prebuilt voice to use." + } + }, + "type": "object" + }, "ModelOperationMetadata": { "description": "This is returned in the longrunning operations for create/update.", "id": "ModelOperationMetadata", diff --git a/firebaseml/v2beta/firebaseml-gen.go b/firebaseml/v2beta/firebaseml-gen.go index 83ecc732a2a..d06c755cb94 100644 --- a/firebaseml/v2beta/firebaseml-gen.go +++ b/firebaseml/v2beta/firebaseml-gen.go @@ -960,6 +960,14 @@ type GoogleCloudAiplatformV1beta1GenerationConfig struct { // prompted to output the appropriate response type, otherwise the behavior is // undefined. This is a preview feature. ResponseMimeType string `json:"responseMimeType,omitempty"` + // ResponseModalities: Optional. The modalities of the response. + // + // Possible values: + // "MODALITY_UNSPECIFIED" - Unspecified modality. Will be processed as text. + // "TEXT" - Text modality. + // "IMAGE" - Image modality. + // "AUDIO" - Audio modality. + ResponseModalities []string `json:"responseModalities,omitempty"` // ResponseSchema: Optional. The `Schema` object allows the definition of input // and output data types. These types can be objects, but also primitives and // arrays. Represents a select subset of an OpenAPI 3.0 schema object @@ -971,10 +979,22 @@ type GoogleCloudAiplatformV1beta1GenerationConfig struct { RoutingConfig *GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig `json:"routingConfig,omitempty"` // Seed: Optional. Seed. Seed int64 `json:"seed,omitempty"` + // SpeechConfig: Optional. The speech generation config. + SpeechConfig *GoogleCloudAiplatformV1beta1SpeechConfig `json:"speechConfig,omitempty"` // StopSequences: Optional. Stop sequences. StopSequences []string `json:"stopSequences,omitempty"` // Temperature: Optional. Controls the randomness of predictions. Temperature float64 `json:"temperature,omitempty"` + // TokenResolution: Optional. If specified, the token resolution specified will + // be used. + // + // Possible values: + // "TOKEN_RESOLUTION_UNSPECIFIED" - Token resolution has not been set. + // "TOKEN_RESOLUTION_LOW" - Token resolution set to low (64 tokens). + // "TOKEN_RESOLUTION_MEDIUM" - Token resolution set to medium (256 tokens). + // "TOKEN_RESOLUTION_HIGH" - Token resolution set to high (P&S with 256 + // tokens). + TokenResolution string `json:"tokenResolution,omitempty"` // TopK: Optional. If specified, top-k sampling will be used. TopK float64 `json:"topK,omitempty"` // TopP: Optional. If specified, nucleus sampling will be used. @@ -1419,6 +1439,29 @@ func (s GoogleCloudAiplatformV1beta1Part) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig: The configuration for the +// prebuilt speaker to use. +type GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig struct { + // VoiceName: The name of the preset voice to use. + VoiceName string `json:"voiceName,omitempty"` + // ForceSendFields is a list of field names (e.g. "VoiceName") 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. "VoiceName") 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 GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudAiplatformV1beta1RagRetrievalConfig: Specifies the context // retrieval config. type GoogleCloudAiplatformV1beta1RagRetrievalConfig struct { @@ -1965,6 +2008,28 @@ func (s GoogleCloudAiplatformV1beta1Segment) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudAiplatformV1beta1SpeechConfig: The speech generation config. +type GoogleCloudAiplatformV1beta1SpeechConfig struct { + // VoiceConfig: The configuration for the speaker to use. + VoiceConfig *GoogleCloudAiplatformV1beta1VoiceConfig `json:"voiceConfig,omitempty"` + // ForceSendFields is a list of field names (e.g. "VoiceConfig") 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. "VoiceConfig") 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 GoogleCloudAiplatformV1beta1SpeechConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudAiplatformV1beta1SpeechConfig + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudAiplatformV1beta1Tool: Tool details that the model may use to // generate response. A `Tool` is a piece of code that enables the system to // interact with external systems to perform an action, or set of actions, @@ -1984,6 +2049,9 @@ type GoogleCloudAiplatformV1beta1Tool struct { // will generate the final response back to the user. Maximum 128 function // declarations can be provided. FunctionDeclarations []*GoogleCloudAiplatformV1beta1FunctionDeclaration `json:"functionDeclarations,omitempty"` + // GoogleSearch: Optional. GoogleSearch tool type. Tool to support Google + // Search in Model. Powered by Google. + GoogleSearch *GoogleCloudAiplatformV1beta1ToolGoogleSearch `json:"googleSearch,omitempty"` // GoogleSearchRetrieval: Optional. GoogleSearchRetrieval tool type. // Specialized retrieval tool that is powered by Google search. GoogleSearchRetrieval *GoogleCloudAiplatformV1beta1GoogleSearchRetrieval `json:"googleSearchRetrieval,omitempty"` @@ -2039,6 +2107,11 @@ func (s GoogleCloudAiplatformV1beta1ToolConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudAiplatformV1beta1ToolGoogleSearch: GoogleSearch tool type. Tool +// to support Google Search in Model. Powered by Google. +type GoogleCloudAiplatformV1beta1ToolGoogleSearch struct { +} + // GoogleCloudAiplatformV1beta1VertexAISearch: Retrieve from Vertex AI Search // datastore for grounding. See https://cloud.google.com/products/agent-builder type GoogleCloudAiplatformV1beta1VertexAISearch struct { @@ -2167,6 +2240,29 @@ func (s GoogleCloudAiplatformV1beta1VideoMetadata) MarshalJSON() ([]byte, error) return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudAiplatformV1beta1VoiceConfig: The configuration for the voice to +// use. +type GoogleCloudAiplatformV1beta1VoiceConfig struct { + // PrebuiltVoiceConfig: The configuration for the prebuilt voice to use. + PrebuiltVoiceConfig *GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig `json:"prebuiltVoiceConfig,omitempty"` + // ForceSendFields is a list of field names (e.g. "PrebuiltVoiceConfig") 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. "PrebuiltVoiceConfig") 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 GoogleCloudAiplatformV1beta1VoiceConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudAiplatformV1beta1VoiceConfig + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // ModelOperationMetadata: This is returned in the longrunning operations for // create/update. type ModelOperationMetadata struct { diff --git a/iap/v1/iap-api.json b/iap/v1/iap-api.json index ac31806c72a..79014073ece 100644 --- a/iap/v1/iap-api.json +++ b/iap/v1/iap-api.json @@ -682,7 +682,7 @@ } } }, - "revision": "20240909", + "revision": "20241202", "rootUrl": "https://iap.googleapis.com/", "schemas": { "AccessDeniedPageSettings": { @@ -1243,7 +1243,7 @@ "description": "Properties of the object. Contains field @type with type URL.", "type": "any" }, - "description": "The proto or JSON formatted expected next state of the resource, wrapped in a google.protobuf.Any proto, against which the policy rules are evaluated. Services not integrated with custom org policy can omit this field. Services integrated with custom org policy must populate this field for all requests where the API call changes the state of the resource. Custom org policy backend uses these attributes to enforce custom org policies. When a proto is wrapped, it is generally the One Platform API proto. When a JSON string is wrapped, use `google.protobuf.StringValue` for the inner value. For create operations, GCP service is expected to pass resource from customer request as is. For update/patch operations, GCP service is expected to compute the next state with the patch provided by the user. See go/custom-constraints-org-policy-integration-guide for additional details.", + "description": "The proto or JSON formatted expected next state of the resource, wrapped in a google.protobuf.Any proto, against which the policy rules are evaluated. Services not integrated with custom org policy can omit this field. Services integrated with custom org policy must populate this field for all requests where the API call changes the state of the resource. Custom org policy backend uses these attributes to enforce custom org policies. For create operations, GCP service is expected to pass resource from customer request as is. For update/patch operations, GCP service is expected to compute the next state with the patch provided by the user. See go/custom-constraints-org-policy-integration-guide for additional details.", "type": "object" }, "labels": { diff --git a/iap/v1/iap-gen.go b/iap/v1/iap-gen.go index 3e69aca1685..6eb76075be8 100644 --- a/iap/v1/iap-gen.go +++ b/iap/v1/iap-gen.go @@ -1206,13 +1206,10 @@ type Resource struct { // this field. Services integrated with custom org policy must populate this // field for all requests where the API call changes the state of the resource. // Custom org policy backend uses these attributes to enforce custom org - // policies. When a proto is wrapped, it is generally the One Platform API - // proto. When a JSON string is wrapped, use `google.protobuf.StringValue` for - // the inner value. For create operations, GCP service is expected to pass - // resource from customer request as is. For update/patch operations, GCP - // service is expected to compute the next state with the patch provided by the - // user. See go/custom-constraints-org-policy-integration-guide for additional - // details. + // policies. For create operations, GCP service is expected to pass resource + // from customer request as is. For update/patch operations, GCP service is + // expected to compute the next state with the patch provided by the user. See + // go/custom-constraints-org-policy-integration-guide for additional details. ExpectedNextState googleapi.RawMessage `json:"expectedNextState,omitempty"` // Labels: The service defined labels of the resource on which the conditions // will be evaluated. The semantics - including the key names - are vague to