From 10cb1abe9dcb4bd5085f74e951bfe8bf1f55a6a3 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 30 Apr 2024 07:12:47 +0000 Subject: [PATCH] feat(all): auto-regenerate discovery clients --- .../v1/androidmanagement-api.json | 57 +++- androidmanagement/v1/androidmanagement-gen.go | 86 +++++- bigquery/v2/bigquery-api.json | 142 ++++++++- bigquery/v2/bigquery-gen.go | 159 ++++++++-- .../v1/bigqueryconnection-api.json | 21 +- .../v1/bigqueryconnection-gen.go | 42 ++- .../v1/certificatemanager-api.json | 16 +- .../v1/certificatemanager-gen.go | 2 +- cloudsupport/v2beta/cloudsupport-api.json | 157 +++++++++- cloudsupport/v2beta/cloudsupport-gen.go | 283 ++++++++++++++++++ kmsinventory/v1/kmsinventory-api.json | 6 +- kmsinventory/v1/kmsinventory-gen.go | 4 + .../v1beta1/servicedirectory-api.json | 8 +- .../v1beta1/servicedirectory-gen.go | 6 +- 14 files changed, 909 insertions(+), 80 deletions(-) diff --git a/androidmanagement/v1/androidmanagement-api.json b/androidmanagement/v1/androidmanagement-api.json index 964d8783925..db17c78dba8 100644 --- a/androidmanagement/v1/androidmanagement-api.json +++ b/androidmanagement/v1/androidmanagement-api.json @@ -1163,7 +1163,7 @@ } } }, - "revision": "20240416", + "revision": "20240425", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { @@ -2736,6 +2736,10 @@ "The user is not allowed to use Wi-Fi direct. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 13." ], "type": "string" + }, + "wifiSsidPolicy": { + "$ref": "WifiSsidPolicy", + "description": "Restrictions on which Wi-Fi SSIDs the device can connect to. Note that this does not affect which networks can be configured on the device. Supported on company-owned devices running Android 13 and above." } }, "type": "object" @@ -5292,7 +5296,7 @@ }, "systemUpdate": { "$ref": "SystemUpdate", - "description": "The system update policy, which controls how OS updates are applied. If the update type is WINDOWED, the update window will automatically apply to Play app updates as well." + "description": "The system update policy, which controls how OS updates are applied. If the update type is WINDOWED, the update window will automatically apply to Play app updates as well.Note: Google Play system updates (https://source.android.com/docs/core/ota/modular-system) (also called Mainline updates) are automatically downloaded and require a device reboot to be installed. Refer to the mainline section in Manage system updates (https://developer.android.com/work/dpc/system-updates#mainline) for further details." }, "tetheringConfigDisabled": { "deprecated": true, @@ -5898,7 +5902,7 @@ "type": "object" }, "SystemUpdate": { - "description": "Configuration for managing system updates", + "description": "Configuration for managing system updatesNote: Google Play system updates (https://source.android.com/docs/core/ota/modular-system) (also called Mainline updates) are automatically downloaded but require a device reboot to be installed. Refer to the mainline section in Manage system updates (https://developer.android.com/work/dpc/system-updates#mainline) for further details.", "id": "SystemUpdate", "properties": { "endMinutes": { @@ -6126,9 +6130,7 @@ "STOP_LOST_MODE_USER_ATTEMPT", "LOST_MODE_OUTGOING_PHONE_CALL", "LOST_MODE_LOCATION", - "ENROLLMENT_COMPLETE", - "MAX_DEVICES_REGISTRATION_QUOTA_WARNING", - "MAX_DEVICES_REGISTRATION_QUOTA_EXHAUSTED" + "ENROLLMENT_COMPLETE" ], "enumDescriptions": [ "This value is not used", @@ -6162,9 +6164,7 @@ "Indicates stopLostModeUserAttemptEvent has been set.", "Indicates lostModeOutgoingPhoneCallEvent has been set.", "Indicates lostModeLocationEvent has been set.", - "Indicates enrollment_complete_event has been set.", - "Indicates max_devices_registration_quota_warning_event has been set.", - "Indicates max_devices_registration_quota_exhausted_event has been set." + "Indicates enrollment_complete_event has been set." ], "type": "string" }, @@ -6402,6 +6402,45 @@ }, "type": "object" }, + "WifiSsid": { + "description": "Represents a Wi-Fi SSID.", + "id": "WifiSsid", + "properties": { + "wifiSsid": { + "description": "Required. Wi-Fi SSID represented as a string.", + "type": "string" + } + }, + "type": "object" + }, + "WifiSsidPolicy": { + "description": "Restrictions on which Wi-Fi SSIDs the device can connect to. Note that this does not affect which networks can be configured on the device. Supported on company-owned devices running Android 13 and above.", + "id": "WifiSsidPolicy", + "properties": { + "wifiSsidPolicyType": { + "description": "Type of the Wi-Fi SSID policy to be applied.", + "enum": [ + "WIFI_SSID_POLICY_TYPE_UNSPECIFIED", + "WIFI_SSID_DENYLIST", + "WIFI_SSID_ALLOWLIST" + ], + "enumDescriptions": [ + "Defaults to WIFI_SSID_DENYLIST. wifiSsids must not be set. There are no restrictions on which SSID the device can connect to.", + "The device cannot connect to any Wi-Fi network whose SSID is in wifiSsids, but can connect to other networks.", + "The device can make Wi-Fi connections only to the SSIDs in wifiSsids. wifiSsids must not be empty. The device will not be able to connect to any other Wi-Fi network." + ], + "type": "string" + }, + "wifiSsids": { + "description": "Optional. List of Wi-Fi SSIDs that should be applied in the policy. This field must be non-empty when WifiSsidPolicyType is set to WIFI_SSID_ALLOWLIST. If this is set to a non-empty list, then a nonComplianceDetail detail with API_LEVEL is reported if the Android version is less than 13 and a nonComplianceDetail with MANAGEMENT_MODE is reported for non-company-owned devices.", + "items": { + "$ref": "WifiSsid" + }, + "type": "array" + } + }, + "type": "object" + }, "WipeAction": { "description": "An action to reset a company owned device or delete a work profile. Note: blockAction must also be specified.", "id": "WipeAction", diff --git a/androidmanagement/v1/androidmanagement-gen.go b/androidmanagement/v1/androidmanagement-gen.go index 46a2e222d90..df2a7ab9786 100644 --- a/androidmanagement/v1/androidmanagement-gen.go +++ b/androidmanagement/v1/androidmanagement-gen.go @@ -2083,6 +2083,10 @@ type DeviceConnectivityManagement struct { // nonComplianceDetail with API_LEVEL is reported if the Android version is // less than 13. WifiDirectSettings string `json:"wifiDirectSettings,omitempty"` + // WifiSsidPolicy: Restrictions on which Wi-Fi SSIDs the device can connect to. + // Note that this does not affect which networks can be configured on the + // device. Supported on company-owned devices running Android 13 and above. + WifiSsidPolicy *WifiSsidPolicy `json:"wifiSsidPolicy,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfigureWifi") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -5041,7 +5045,12 @@ type Policy struct { StayOnPluggedModes []string `json:"stayOnPluggedModes,omitempty"` // SystemUpdate: The system update policy, which controls how OS updates are // applied. If the update type is WINDOWED, the update window will - // automatically apply to Play app updates as well. + // automatically apply to Play app updates as well.Note: Google Play system + // updates (https://source.android.com/docs/core/ota/modular-system) (also + // called Mainline updates) are automatically downloaded and require a device + // reboot to be installed. Refer to the mainline section in Manage system + // updates (https://developer.android.com/work/dpc/system-updates#mainline) for + // further details. SystemUpdate *SystemUpdate `json:"systemUpdate,omitempty"` // TetheringConfigDisabled: Whether configuring tethering and portable hotspots // is disabled. If tetheringSettings is set to anything other than @@ -5807,7 +5816,13 @@ func (s *StopLostModeUserAttemptEvent) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } -// SystemUpdate: Configuration for managing system updates +// SystemUpdate: Configuration for managing system updatesNote: Google Play +// system updates (https://source.android.com/docs/core/ota/modular-system) +// (also called Mainline updates) are automatically downloaded but require a +// device reboot to be installed. Refer to the mainline section in Manage +// system updates +// (https://developer.android.com/work/dpc/system-updates#mainline) for further +// details. type SystemUpdate struct { // EndMinutes: If the type is WINDOWED, the end of the maintenance window, // measured as the number of minutes after midnight in device's local time. @@ -6099,10 +6114,6 @@ type UsageLogEvent struct { // has been set. // "LOST_MODE_LOCATION" - Indicates lostModeLocationEvent has been set. // "ENROLLMENT_COMPLETE" - Indicates enrollment_complete_event has been set. - // "MAX_DEVICES_REGISTRATION_QUOTA_WARNING" - Indicates - // max_devices_registration_quota_warning_event has been set. - // "MAX_DEVICES_REGISTRATION_QUOTA_EXHAUSTED" - Indicates - // max_devices_registration_quota_exhausted_event has been set. EventType string `json:"eventType,omitempty"` // FilePulledEvent: A file was downloaded from the device. Part of // SECURITY_LOGS. @@ -6381,6 +6392,69 @@ func (s *WebToken) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// WifiSsid: Represents a Wi-Fi SSID. +type WifiSsid struct { + // WifiSsid: Required. Wi-Fi SSID represented as a string. + WifiSsid string `json:"wifiSsid,omitempty"` + // ForceSendFields is a list of field names (e.g. "WifiSsid") 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. "WifiSsid") 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 *WifiSsid) MarshalJSON() ([]byte, error) { + type NoMethod WifiSsid + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + +// WifiSsidPolicy: Restrictions on which Wi-Fi SSIDs the device can connect to. +// Note that this does not affect which networks can be configured on the +// device. Supported on company-owned devices running Android 13 and above. +type WifiSsidPolicy struct { + // WifiSsidPolicyType: Type of the Wi-Fi SSID policy to be applied. + // + // Possible values: + // "WIFI_SSID_POLICY_TYPE_UNSPECIFIED" - Defaults to WIFI_SSID_DENYLIST. + // wifiSsids must not be set. There are no restrictions on which SSID the + // device can connect to. + // "WIFI_SSID_DENYLIST" - The device cannot connect to any Wi-Fi network + // whose SSID is in wifiSsids, but can connect to other networks. + // "WIFI_SSID_ALLOWLIST" - The device can make Wi-Fi connections only to the + // SSIDs in wifiSsids. wifiSsids must not be empty. The device will not be able + // to connect to any other Wi-Fi network. + WifiSsidPolicyType string `json:"wifiSsidPolicyType,omitempty"` + // WifiSsids: Optional. List of Wi-Fi SSIDs that should be applied in the + // policy. This field must be non-empty when WifiSsidPolicyType is set to + // WIFI_SSID_ALLOWLIST. If this is set to a non-empty list, then a + // nonComplianceDetail detail with API_LEVEL is reported if the Android version + // is less than 13 and a nonComplianceDetail with MANAGEMENT_MODE is reported + // for non-company-owned devices. + WifiSsids []*WifiSsid `json:"wifiSsids,omitempty"` + // ForceSendFields is a list of field names (e.g. "WifiSsidPolicyType") 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. "WifiSsidPolicyType") 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 *WifiSsidPolicy) MarshalJSON() ([]byte, error) { + type NoMethod WifiSsidPolicy + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // WipeAction: An action to reset a company owned device or delete a work // profile. Note: blockAction must also be specified. type WipeAction struct { diff --git a/bigquery/v2/bigquery-api.json b/bigquery/v2/bigquery-api.json index 226d09d1c59..1c534980633 100644 --- a/bigquery/v2/bigquery-api.json +++ b/bigquery/v2/bigquery-api.json @@ -33,6 +33,38 @@ "description": "A data platform for customers to create, manage, share and query data.", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/bigquery/", + "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://bigquery.me-central2.rep.googleapis.com/", + "location": "me-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://bigquery.europe-west3.rep.googleapis.com/", + "location": "europe-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://bigquery.europe-west9.rep.googleapis.com/", + "location": "europe-west9" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://bigquery.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://bigquery.us-east7.rep.googleapis.com/", + "location": "us-east7" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://bigquery.us-west1.rep.googleapis.com/", + "location": "us-west1" + } + ], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -257,7 +289,7 @@ "type": "boolean" }, "filter": { - "description": "An expression for filtering the results of the request by label. The syntax is \\\"labels.\u003cname\u003e[:\u003cvalue\u003e]\\\". Multiple filters can be ANDed together by connecting with a space. Example: \\\"labels.department:receiving labels.active\\\". See [Filtering datasets using labels](/bigquery/docs/labeling-datasets#filtering_datasets_using_labels) for details.", + "description": "An expression for filtering the results of the request by label. The syntax is \\\"labels.\u003cname\u003e[:\u003cvalue\u003e]\\\". Multiple filters can be ANDed together by connecting with a space. Example: \\\"labels.department:receiving labels.active\\\". See [Filtering datasets using labels](/bigquery/docs/filtering-labels#filtering_datasets_using_labels) for details.", "location": "query", "type": "string" }, @@ -1903,7 +1935,7 @@ } } }, - "revision": "20240323", + "revision": "20240418", "rootUrl": "https://bigquery.googleapis.com/", "schemas": { "AggregateClassificationMetrics": { @@ -3001,7 +3033,7 @@ "type": "string" }, "nullMarker": { - "description": "[Optional] A custom string that will represent a NULL value in CSV import data.", + "description": "Optional. Specifies a string that represents a null value in a CSV file. For example, if you specify \"\\N\", BigQuery interprets \"\\N\" as a null value when querying a CSV file. The default value is the empty string. If you set this property to a custom value, BigQuery throws an error if an empty string is present for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as an empty value.", "type": "string" }, "preserveAsciiControlCharacters": { @@ -3221,6 +3253,11 @@ "format": "int64", "type": "string" }, + "restrictions": { + "$ref": "RestrictionConfig", + "description": "Optional. Output only. Restriction config for all tables and dataset. If set, restrict certain accesses on the dataset and all its tables based on the config. See [Data egress](/bigquery/docs/analytics-hub-introduction#data_egress) for more details.", + "readOnly": true + }, "satisfiesPzi": { "description": "Output only. Reserved for future use.", "readOnly": true, @@ -3270,7 +3307,7 @@ "type": "array" }, "type": { - "description": "Output only. Same as `type` in `ListFormatDataset`. The type of the dataset, one of: * DEFAULT - only accessible by owner and authorized accounts, * PUBLIC - accessible by everyone, * LINKED - linked dataset, * EXTERNAL - dataset with definition in external metadata catalog. -- *BIGLAKE_METASTORE - dataset that references a database created in BigLakeMetastore service. --", + "description": "Output only. Same as `type` in `ListFormatDataset`. The type of the dataset, one of: * DEFAULT - only accessible by owner and authorized accounts, * PUBLIC - accessible by everyone, * LINKED - linked dataset, * EXTERNAL - dataset with definition in external metadata catalog.", "readOnly": true, "type": "string" } @@ -3421,6 +3458,12 @@ "format": "double", "type": "number" }, + "deltaBudgetRemaining": { + "description": "Output only. The delta budget remaining. If budget is exhausted, no more queries are allowed. Note that the budget for queries that are in progress is deducted before the query executes. If the query fails or is cancelled then the budget is refunded. In this case the amount of budget remaining can increase.", + "format": "double", + "readOnly": true, + "type": "number" + }, "deltaPerQuery": { "description": "Optional. The delta value that is used per query. Delta represents the probability that any row will fail to be epsilon differentially private. Indicates the risk associated with exposing aggregate rows in the result of a query.", "format": "double", @@ -3431,6 +3474,12 @@ "format": "double", "type": "number" }, + "epsilonBudgetRemaining": { + "description": "Output only. The epsilon budget remaining. If budget is exhausted, no more queries are allowed. Note that the budget for queries that are in progress is deducted before the query executes. If the query fails or is cancelled then the budget is refunded. In this case the amount of budget remaining can increase.", + "format": "double", + "readOnly": true, + "type": "number" + }, "maxEpsilonPerQuery": { "description": "Optional. The maximum epsilon value that a query can consume. If the subscriber specifies epsilon as a parameter in a SELECT query, it must be less than or equal to this value. The epsilon parameter controls the amount of noise that is added to the groups — a higher epsilon means less noise.", "format": "double", @@ -4116,6 +4165,25 @@ }, "type": "object" }, + "ForeignTypeInfo": { + "description": "Metadata about the foreign data type definition such as the system in which the type is defined.", + "id": "ForeignTypeInfo", + "properties": { + "typeSystem": { + "description": "Required. Specifies the system which defines the foreign data type.", + "enum": [ + "TYPE_SYSTEM_UNSPECIFIED", + "HIVE" + ], + "enumDescriptions": [ + "TypeSystem not specified.", + "Represents Hive data types." + ], + "type": "string" + } + }, + "type": "object" + }, "GetIamPolicyRequest": { "description": "Request message for `GetIamPolicy` method.", "id": "GetIamPolicyRequest", @@ -4883,7 +4951,7 @@ "type": "array" }, "copyFilesOnly": { - "description": "Optional. [Experimental] Configures the load job to only copy files to the destination BigLake managed table with an external storage_uri, without reading file content and writing them to new files. Copying files only is supported when: * source_uris are in the same external storage system as the destination table but they do not overlap with storage_uri of the destination table. * source_format is the same file format as the destination table. * destination_table is an existing BigLake managed table. Its schema does not have default value expression. It schema does not have type parameters other than precision and scale. * No options other than the above are specified.", + "description": "Optional. [Experimental] Configures the load job to copy files directly to the destination BigLake managed table, bypassing file content reading and rewriting. Copying files only is supported when all the following are true: * `source_uris` are located in the same Cloud Storage location as the destination table's `storage_uri` location. * `source_format` is `PARQUET`. * `destination_table` is an existing BigLake managed table. The table's schema does not have flexible column names. The table's columns do not have type parameters other than precision and scale. * No options other than the above are specified.", "type": "boolean" }, "createDisposition": { @@ -5450,7 +5518,7 @@ "description": "Job resource usage breakdown by reservation.", "properties": { "name": { - "description": "Reservation name or \"unreserved\" for on-demand resources usage.", + "description": "Reservation name or \"unreserved\" for on-demand resource usage and multi-statement queries.", "type": "string" }, "slotMs": { @@ -5686,7 +5754,7 @@ "description": "Job resource usage breakdown by reservation.", "properties": { "name": { - "description": "Reservation name or \"unreserved\" for on-demand resources usage.", + "description": "Reservation name or \"unreserved\" for on-demand resource usage and multi-statement queries.", "type": "string" }, "slotMs": { @@ -6135,7 +6203,7 @@ "View is invalidated because it was refreshed with a time zone other than that of the current job.", "View is outside the time travel window.", "View is inaccessible to the user because of a fine-grained security policy on one of its base tables.", - "One of the view's base tables is too stale. For example, the cached metadata of a biglake table needs to be updated." + "One of the view's base tables is too stale. For example, the cached metadata of a BigLake external table needs to be updated." ], "type": "string" }, @@ -6151,7 +6219,7 @@ "id": "MaterializedViewDefinition", "properties": { "allowNonIncrementalDefinition": { - "description": "Optional. This option declares authors intention to construct a materialized view that will not be refreshed incrementally.", + "description": "Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally.", "type": "boolean" }, "enableRefresh": { @@ -6278,7 +6346,8 @@ "RANDOM_FOREST_REGRESSOR", "RANDOM_FOREST_CLASSIFIER", "TENSORFLOW_LITE", - "ONNX" + "ONNX", + "TRANSFORM_ONLY" ], "enumDescriptions": [ "Default value.", @@ -6304,7 +6373,8 @@ "Random forest regressor model.", "Random forest classifier model.", "An imported TensorFlow Lite model.", - "An imported ONNX model." + "An imported ONNX model.", + "Model to capture the manual preprocessing logic in the transform clause." ], "readOnly": true, "type": "string" @@ -6447,7 +6517,8 @@ "RANDOM_FOREST_REGRESSOR", "RANDOM_FOREST_CLASSIFIER", "TENSORFLOW_LITE", - "ONNX" + "ONNX", + "TRANSFORM_ONLY" ], "enumDescriptions": [ "Default value.", @@ -6473,7 +6544,8 @@ "Random forest regressor model.", "Random forest classifier model.", "An imported TensorFlow Lite model.", - "An imported ONNX model." + "An imported ONNX model.", + "Model to capture the manual preprocessing logic in the transform clause." ], "readOnly": true, "type": "string" @@ -6601,6 +6673,18 @@ "enumAsString": { "description": "Optional. Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.", "type": "boolean" + }, + "mapTargetType": { + "description": "Optional. Will indicate how to represent a parquet map if present.", + "enum": [ + "MAP_TARGET_TYPE_UNSPECIFIED", + "ARRAY_OF_STRUCT" + ], + "enumDescriptions": [ + "In this mode, we fall back to the default. Currently (3/24) we represent the map as: struct map_field_name { repeated struct key_value { key value } }", + "In this mode, we omit parquet's key_value struct and represent the map as: repeated struct map_field_name { key value }" + ], + "type": "string" } }, "type": "object" @@ -7339,6 +7423,25 @@ }, "type": "object" }, + "RestrictionConfig": { + "id": "RestrictionConfig", + "properties": { + "type": { + "description": "Output only. Specifies the type of dataset/table restriction.", + "enum": [ + "RESTRICTION_TYPE_UNSPECIFIED", + "RESTRICTED_DATA_EGRESS" + ], + "enumDescriptions": [ + "Should never be used.", + "Restrict data egress. See [Data egress](/bigquery/docs/analytics-hub-introduction#data_egress) for more details." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "Routine": { "description": "A user-defined function or a stored procedure.", "id": "Routine", @@ -8387,6 +8490,11 @@ "description": "[Optional] The tags associated with this table. Tag keys are globally unique. See additional information on [tags](https://cloud.google.com/iam/docs/tags-access-control#definitions). An object containing a list of \"key\": value pairs. The key is the namespaced friendly name of the tag key, e.g. \"12345/environment\" where 12345 is parent id. The value is the friendly short name of the tag value, e.g. \"production\".", "type": "object" }, + "restrictions": { + "$ref": "RestrictionConfig", + "description": "Optional. Output only. Restriction config for table. If set, restrict certain accesses on the table based on the config. See [Data egress](/bigquery/docs/analytics-hub-introduction#data_egress) for more details.", + "readOnly": true + }, "schema": { "$ref": "TableSchema", "description": "Optional. Describes the schema of this table." @@ -8655,6 +8763,10 @@ }, "type": "array" }, + "foreignTypeDefinition": { + "description": "Optional. Definition of the foreign data type. Only valid for top-level schema fields (not nested fields). If the type is FOREIGN, this field is required.", + "type": "string" + }, "maxLength": { "description": "Optional. Maximum length of values of this field for STRINGS or BYTES. If max_length is not specified, no maximum length constraint is imposed on this field. If type = \"STRING\", then max_length represents the maximum UTF-8 length of strings in this field. If type = \"BYTES\", then max_length represents the maximum number of bytes in this field. It is invalid to set this field if type ≠ \"STRING\" and ≠ \"BYTES\".", "format": "int64", @@ -8947,6 +9059,10 @@ "$ref": "TableFieldSchema" }, "type": "array" + }, + "foreignTypeInfo": { + "$ref": "ForeignTypeInfo", + "description": "Optional. Specifies metadata of the foreign data type definition in field schema (TableFieldSchema.foreign_type_definition)." } }, "type": "object" diff --git a/bigquery/v2/bigquery-gen.go b/bigquery/v2/bigquery-gen.go index 5c9ac948205..81ec097267d 100644 --- a/bigquery/v2/bigquery-gen.go +++ b/bigquery/v2/bigquery-gen.go @@ -1797,8 +1797,13 @@ type CsvOptions struct { // part of the field. BigQuery also supports the escape sequence "\t" (U+0009) // to specify a tab separator. The default value is comma (",", U+002C). FieldDelimiter string `json:"fieldDelimiter,omitempty"` - // NullMarker: [Optional] A custom string that will represent a NULL value in - // CSV import data. + // NullMarker: Optional. Specifies a string that represents a null value in a + // CSV file. For example, if you specify "\N", BigQuery interprets "\N" as a + // null value when querying a CSV file. The default value is the empty string. + // If you set this property to a custom value, BigQuery throws an error if an + // empty string is present for all data types except for STRING and BYTE. For + // STRING and BYTE columns, BigQuery interprets the empty string as an empty + // value. NullMarker string `json:"nullMarker,omitempty"` // PreserveAsciiControlCharacters: Optional. Indicates if the embedded ASCII // control characters (the first 32 characters in the ASCII-table, from '\x00' @@ -2043,6 +2048,11 @@ type Dataset struct { // value can be from 48 to 168 hours (2 to 7 days). The default value is 168 // hours if this is not set. MaxTimeTravelHours int64 `json:"maxTimeTravelHours,omitempty,string"` + // Restrictions: Optional. Output only. Restriction config for all tables and + // dataset. If set, restrict certain accesses on the dataset and all its tables + // based on the config. See Data egress + // (/bigquery/docs/analytics-hub-introduction#data_egress) for more details. + Restrictions *RestrictionConfig `json:"restrictions,omitempty"` // SatisfiesPzi: Output only. Reserved for future use. SatisfiesPzi bool `json:"satisfiesPzi,omitempty"` // SatisfiesPzs: Output only. Reserved for future use. @@ -2063,9 +2073,7 @@ type Dataset struct { // Type: Output only. Same as `type` in `ListFormatDataset`. The type of the // dataset, one of: * DEFAULT - only accessible by owner and authorized // accounts, * PUBLIC - accessible by everyone, * LINKED - linked dataset, * - // EXTERNAL - dataset with definition in external metadata catalog. -- - // *BIGLAKE_METASTORE - dataset that references a database created in - // BigLakeMetastore service. -- + // EXTERNAL - dataset with definition in external metadata catalog. Type string `json:"type,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. @@ -2372,6 +2380,12 @@ type DifferentialPrivacyPolicy struct { // only be updated via ALTER VIEW or circumvented by creating a new view that // can be queried with a fresh budget. DeltaBudget float64 `json:"deltaBudget,omitempty"` + // DeltaBudgetRemaining: Output only. The delta budget remaining. If budget is + // exhausted, no more queries are allowed. Note that the budget for queries + // that are in progress is deducted before the query executes. If the query + // fails or is cancelled then the budget is refunded. In this case the amount + // of budget remaining can increase. + DeltaBudgetRemaining float64 `json:"deltaBudgetRemaining,omitempty"` // DeltaPerQuery: Optional. The delta value that is used per query. Delta // represents the probability that any row will fail to be epsilon // differentially private. Indicates the risk associated with exposing @@ -2389,6 +2403,12 @@ type DifferentialPrivacyPolicy struct { // policy and can only be updated via ALTER VIEW or circumvented by creating a // new view that can be queried with a fresh budget. EpsilonBudget float64 `json:"epsilonBudget,omitempty"` + // EpsilonBudgetRemaining: Output only. The epsilon budget remaining. If budget + // is exhausted, no more queries are allowed. Note that the budget for queries + // that are in progress is deducted before the query executes. If the query + // fails or is cancelled then the budget is refunded. In this case the amount + // of budget remaining can increase. + EpsilonBudgetRemaining float64 `json:"epsilonBudgetRemaining,omitempty"` // MaxEpsilonPerQuery: Optional. The maximum epsilon value that a query can // consume. If the subscriber specifies epsilon as a parameter in a SELECT // query, it must be less than or equal to this value. The epsilon parameter @@ -2426,10 +2446,12 @@ func (s *DifferentialPrivacyPolicy) MarshalJSON() ([]byte, error) { func (s *DifferentialPrivacyPolicy) UnmarshalJSON(data []byte) error { type NoMethod DifferentialPrivacyPolicy var s1 struct { - DeltaBudget gensupport.JSONFloat64 `json:"deltaBudget"` - DeltaPerQuery gensupport.JSONFloat64 `json:"deltaPerQuery"` - EpsilonBudget gensupport.JSONFloat64 `json:"epsilonBudget"` - MaxEpsilonPerQuery gensupport.JSONFloat64 `json:"maxEpsilonPerQuery"` + DeltaBudget gensupport.JSONFloat64 `json:"deltaBudget"` + DeltaBudgetRemaining gensupport.JSONFloat64 `json:"deltaBudgetRemaining"` + DeltaPerQuery gensupport.JSONFloat64 `json:"deltaPerQuery"` + EpsilonBudget gensupport.JSONFloat64 `json:"epsilonBudget"` + EpsilonBudgetRemaining gensupport.JSONFloat64 `json:"epsilonBudgetRemaining"` + MaxEpsilonPerQuery gensupport.JSONFloat64 `json:"maxEpsilonPerQuery"` *NoMethod } s1.NoMethod = (*NoMethod)(s) @@ -2437,8 +2459,10 @@ func (s *DifferentialPrivacyPolicy) UnmarshalJSON(data []byte) error { return err } s.DeltaBudget = float64(s1.DeltaBudget) + s.DeltaBudgetRemaining = float64(s1.DeltaBudgetRemaining) s.DeltaPerQuery = float64(s1.DeltaPerQuery) s.EpsilonBudget = float64(s1.EpsilonBudget) + s.EpsilonBudgetRemaining = float64(s1.EpsilonBudgetRemaining) s.MaxEpsilonPerQuery = float64(s1.MaxEpsilonPerQuery) return nil } @@ -3337,6 +3361,34 @@ func (s *FeatureValue) UnmarshalJSON(data []byte) error { return nil } +// ForeignTypeInfo: Metadata about the foreign data type definition such as the +// system in which the type is defined. +type ForeignTypeInfo struct { + // TypeSystem: Required. Specifies the system which defines the foreign data + // type. + // + // Possible values: + // "TYPE_SYSTEM_UNSPECIFIED" - TypeSystem not specified. + // "HIVE" - Represents Hive data types. + TypeSystem string `json:"typeSystem,omitempty"` + // ForceSendFields is a list of field names (e.g. "TypeSystem") 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. "TypeSystem") 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 *ForeignTypeInfo) MarshalJSON() ([]byte, error) { + type NoMethod ForeignTypeInfo + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // GetIamPolicyRequest: Request message for `GetIamPolicy` method. type GetIamPolicyRequest struct { // Options: OPTIONAL: A `GetPolicyOptions` object for specifying options to @@ -4267,16 +4319,15 @@ type JobConfigurationLoad struct { // load job behavior. Currently, only the 'session_id' connection property is // supported, and is used to resolve _SESSION appearing as the dataset id. ConnectionProperties []*ConnectionProperty `json:"connectionProperties,omitempty"` - // CopyFilesOnly: Optional. [Experimental] Configures the load job to only copy - // files to the destination BigLake managed table with an external storage_uri, - // without reading file content and writing them to new files. Copying files - // only is supported when: * source_uris are in the same external storage - // system as the destination table but they do not overlap with storage_uri of - // the destination table. * source_format is the same file format as the - // destination table. * destination_table is an existing BigLake managed table. - // Its schema does not have default value expression. It schema does not have - // type parameters other than precision and scale. * No options other than the - // above are specified. + // CopyFilesOnly: Optional. [Experimental] Configures the load job to copy + // files directly to the destination BigLake managed table, bypassing file + // content reading and rewriting. Copying files only is supported when all the + // following are true: * `source_uris` are located in the same Cloud Storage + // location as the destination table's `storage_uri` location. * + // `source_format` is `PARQUET`. * `destination_table` is an existing BigLake + // managed table. The table's schema does not have flexible column names. The + // table's columns do not have type parameters other than precision and scale. + // * No options other than the above are specified. CopyFilesOnly bool `json:"copyFilesOnly,omitempty"` // CreateDisposition: Optional. Specifies whether the job is allowed to create // new tables. The following values are supported: * CREATE_IF_NEEDED: If the @@ -5004,7 +5055,8 @@ func (s *JobStatistics) UnmarshalJSON(data []byte) error { // JobStatisticsReservationUsage: Job resource usage breakdown by reservation. type JobStatisticsReservationUsage struct { - // Name: Reservation name or "unreserved" for on-demand resources usage. + // Name: Reservation name or "unreserved" for on-demand resource usage and + // multi-statement queries. Name string `json:"name,omitempty"` // SlotMs: Total slot milliseconds used by the reservation for a particular // job. @@ -5261,7 +5313,8 @@ func (s *JobStatistics2) MarshalJSON() ([]byte, error) { // JobStatistics2ReservationUsage: Job resource usage breakdown by reservation. type JobStatistics2ReservationUsage struct { - // Name: Reservation name or "unreserved" for on-demand resources usage. + // Name: Reservation name or "unreserved" for on-demand resource usage and + // multi-statement queries. Name string `json:"name,omitempty"` // SlotMs: Total slot milliseconds used by the reservation for a particular // job. @@ -5721,7 +5774,8 @@ type MaterializedView struct { // "BASE_TABLE_FINE_GRAINED_SECURITY_POLICY" - View is inaccessible to the // user because of a fine-grained security policy on one of its base tables. // "BASE_TABLE_TOO_STALE" - One of the view's base tables is too stale. For - // example, the cached metadata of a biglake table needs to be updated. + // example, the cached metadata of a BigLake external table needs to be + // updated. RejectedReason string `json:"rejectedReason,omitempty"` // TableReference: The candidate materialized view. TableReference *TableReference `json:"tableReference,omitempty"` @@ -5746,9 +5800,8 @@ func (s *MaterializedView) MarshalJSON() ([]byte, error) { // MaterializedViewDefinition: Definition and configuration of a materialized // view. type MaterializedViewDefinition struct { - // AllowNonIncrementalDefinition: Optional. This option declares authors - // intention to construct a materialized view that will not be refreshed - // incrementally. + // AllowNonIncrementalDefinition: Optional. This option declares the intention + // to construct a materialized view that isn't refreshed incrementally. AllowNonIncrementalDefinition bool `json:"allowNonIncrementalDefinition,omitempty"` // EnableRefresh: Optional. Enable automatic refresh of the materialized view // when the base table is updated. The default value is "true". @@ -5903,6 +5956,8 @@ type MlStatistics struct { // "RANDOM_FOREST_CLASSIFIER" - Random forest classifier model. // "TENSORFLOW_LITE" - An imported TensorFlow Lite model. // "ONNX" - An imported ONNX model. + // "TRANSFORM_ONLY" - Model to capture the manual preprocessing logic in the + // transform clause. ModelType string `json:"modelType,omitempty"` // TrainingType: Output only. Training type of the job. // @@ -6018,6 +6073,8 @@ type Model struct { // "RANDOM_FOREST_CLASSIFIER" - Random forest classifier model. // "TENSORFLOW_LITE" - An imported TensorFlow Lite model. // "ONNX" - An imported ONNX model. + // "TRANSFORM_ONLY" - Model to capture the manual preprocessing logic in the + // transform clause. ModelType string `json:"modelType,omitempty"` // OptimalTrialIds: Output only. For single-objective hyperparameter tuning // (/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overvie @@ -6191,6 +6248,16 @@ type ParquetOptions struct { // EnumAsString: Optional. Indicates whether to infer Parquet ENUM logical type // as STRING instead of BYTES by default. EnumAsString bool `json:"enumAsString,omitempty"` + // MapTargetType: Optional. Will indicate how to represent a parquet map if + // present. + // + // Possible values: + // "MAP_TARGET_TYPE_UNSPECIFIED" - In this mode, we fall back to the default. + // Currently (3/24) we represent the map as: struct map_field_name { repeated + // struct key_value { key value } } + // "ARRAY_OF_STRUCT" - In this mode, we omit parquet's key_value struct and + // represent the map as: repeated struct map_field_name { key value } + MapTargetType string `json:"mapTargetType,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableListInference") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -7251,6 +7318,33 @@ func (s *RemoteModelInfo) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +type RestrictionConfig struct { + // Type: Output only. Specifies the type of dataset/table restriction. + // + // Possible values: + // "RESTRICTION_TYPE_UNSPECIFIED" - Should never be used. + // "RESTRICTED_DATA_EGRESS" - Restrict data egress. See [Data + // egress](/bigquery/docs/analytics-hub-introduction#data_egress) for more + // details. + Type string `json:"type,omitempty"` + // ForceSendFields is a list of field names (e.g. "Type") 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. "Type") 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 *RestrictionConfig) MarshalJSON() ([]byte, error) { + type NoMethod RestrictionConfig + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // Routine: A user-defined function or a stored procedure. type Routine struct { // Arguments: Optional. @@ -8412,6 +8506,10 @@ type Table struct { // id. The value is the friendly short name of the tag value, e.g. // "production". ResourceTags map[string]string `json:"resourceTags,omitempty"` + // Restrictions: Optional. Output only. Restriction config for table. If set, + // restrict certain accesses on the table based on the config. See Data egress + // (/bigquery/docs/analytics-hub-introduction#data_egress) for more details. + Restrictions *RestrictionConfig `json:"restrictions,omitempty"` // Schema: Optional. Describes the schema of this table. Schema *TableSchema `json:"schema,omitempty"` // SelfLink: Output only. A URL that can be used to access this resource again. @@ -8788,6 +8886,10 @@ type TableFieldSchema struct { // Fields: Optional. Describes the nested schema fields if the type property is // set to RECORD. Fields []*TableFieldSchema `json:"fields,omitempty"` + // ForeignTypeDefinition: Optional. Definition of the foreign data type. Only + // valid for top-level schema fields (not nested fields). If the type is + // FOREIGN, this field is required. + ForeignTypeDefinition string `json:"foreignTypeDefinition,omitempty"` // MaxLength: Optional. Maximum length of values of this field for STRINGS or // BYTES. If max_length is not specified, no maximum length constraint is // imposed on this field. If type = "STRING", then max_length represents the @@ -9190,6 +9292,9 @@ func (s *TableRow) MarshalJSON() ([]byte, error) { type TableSchema struct { // Fields: Describes the fields in a table. Fields []*TableFieldSchema `json:"fields,omitempty"` + // ForeignTypeInfo: Optional. Specifies metadata of the foreign data type + // definition in field schema (TableFieldSchema.foreign_type_definition). + ForeignTypeInfo *ForeignTypeInfo `json:"foreignTypeInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "Fields") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See @@ -10474,8 +10579,8 @@ func (c *DatasetsListCall) All(all bool) *DatasetsListCall { // results of the request by label. The syntax is \"labels.[:]\". // Multiple filters can be ANDed together by connecting with a space. Example: // \"labels.department:receiving labels.active\". See Filtering datasets using -// labels (/bigquery/docs/labeling-datasets#filtering_datasets_using_labels) -// for details. +// labels (/bigquery/docs/filtering-labels#filtering_datasets_using_labels) for +// details. func (c *DatasetsListCall) Filter(filter string) *DatasetsListCall { c.urlParams_.Set("filter", filter) return c diff --git a/bigqueryconnection/v1/bigqueryconnection-api.json b/bigqueryconnection/v1/bigqueryconnection-api.json index d1e827d8b9d..4b9fd688b8d 100644 --- a/bigqueryconnection/v1/bigqueryconnection-api.json +++ b/bigqueryconnection/v1/bigqueryconnection-api.json @@ -366,7 +366,7 @@ } } }, - "revision": "20240323", + "revision": "20240418", "rootUrl": "https://bigqueryconnection.googleapis.com/", "schemas": { "AuditConfig": { @@ -679,6 +679,10 @@ "description": "Represents concrete parameter values for Connector Configuration.", "id": "ConnectorConfiguration", "properties": { + "asset": { + "$ref": "ConnectorConfigurationAsset", + "description": "Optional. Data asset." + }, "authentication": { "$ref": "ConnectorConfigurationAuthentication", "description": "Client authentication." @@ -698,6 +702,21 @@ }, "type": "object" }, + "ConnectorConfigurationAsset": { + "description": "Data Asset - a resource within instance of the system, reachable under specified endpoint. For example a database name in a SQL DB.", + "id": "ConnectorConfigurationAsset", + "properties": { + "database": { + "description": "Optional. Name of the database.", + "type": "string" + }, + "googleCloudResource": { + "description": "Full Google Cloud resource name - https://cloud.google.com/apis/design/resource_names#full_resource_name. Example: `//library.googleapis.com/shelves/shelf1/books/book2`", + "type": "string" + } + }, + "type": "object" + }, "ConnectorConfigurationAuthentication": { "description": "Client authentication.", "id": "ConnectorConfigurationAuthentication", diff --git a/bigqueryconnection/v1/bigqueryconnection-gen.go b/bigqueryconnection/v1/bigqueryconnection-gen.go index 85651867388..cd150aa612e 100644 --- a/bigqueryconnection/v1/bigqueryconnection-gen.go +++ b/bigqueryconnection/v1/bigqueryconnection-gen.go @@ -666,6 +666,8 @@ func (s *Connection) MarshalJSON() ([]byte, error) { // ConnectorConfiguration: Represents concrete parameter values for Connector // Configuration. type ConnectorConfiguration struct { + // Asset: Optional. Data asset. + Asset *ConnectorConfigurationAsset `json:"asset,omitempty"` // Authentication: Client authentication. Authentication *ConnectorConfigurationAuthentication `json:"authentication,omitempty"` // ConnectorId: Required. Immutable. The ID of the Connector these parameters @@ -676,15 +678,15 @@ type ConnectorConfiguration struct { Endpoint *ConnectorConfigurationEndpoint `json:"endpoint,omitempty"` // Network: Networking configuration. Network *ConnectorConfigurationNetwork `json:"network,omitempty"` - // ForceSendFields is a list of field names (e.g. "Authentication") to - // unconditionally include in API requests. By default, fields with empty or - // default values are omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "Asset") 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. "Authentication") to include in - // API requests with the JSON null value. By default, fields with empty values - // are omitted from API requests. See + // NullFields is a list of field names (e.g. "Asset") 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:"-"` } @@ -694,6 +696,34 @@ func (s *ConnectorConfiguration) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// ConnectorConfigurationAsset: Data Asset - a resource within instance of the +// system, reachable under specified endpoint. For example a database name in a +// SQL DB. +type ConnectorConfigurationAsset struct { + // Database: Optional. Name of the database. + Database string `json:"database,omitempty"` + // GoogleCloudResource: Full Google Cloud resource name - + // https://cloud.google.com/apis/design/resource_names#full_resource_name. + // Example: `//library.googleapis.com/shelves/shelf1/books/book2` + GoogleCloudResource string `json:"googleCloudResource,omitempty"` + // ForceSendFields is a list of field names (e.g. "Database") 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. "Database") 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 *ConnectorConfigurationAsset) MarshalJSON() ([]byte, error) { + type NoMethod ConnectorConfigurationAsset + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // ConnectorConfigurationAuthentication: Client authentication. type ConnectorConfigurationAuthentication struct { // UsernamePassword: Username/password authentication. diff --git a/certificatemanager/v1/certificatemanager-api.json b/certificatemanager/v1/certificatemanager-api.json index 5eba3557789..052a610dbb0 100644 --- a/certificatemanager/v1/certificatemanager-api.json +++ b/certificatemanager/v1/certificatemanager-api.json @@ -277,7 +277,7 @@ "type": "string" }, "orderBy": { - "description": "A list of Certificate Config field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix \" desc\".", + "description": "A list of Certificate Config field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix `\" desc\"`.", "location": "query", "type": "string" }, @@ -410,7 +410,7 @@ "type": "string" }, "orderBy": { - "description": "A list of Certificate Map field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix \" desc\".", + "description": "A list of Certificate Map field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix `\" desc\"`.", "location": "query", "type": "string" }, @@ -577,7 +577,7 @@ "type": "string" }, "orderBy": { - "description": "A list of Certificate Map Entry field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix \" desc\".", + "description": "A list of Certificate Map Entry field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix `\" desc\"`.", "location": "query", "type": "string" }, @@ -746,7 +746,7 @@ "type": "string" }, "orderBy": { - "description": "A list of Certificate field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix \" desc\".", + "description": "A list of Certificate field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix `\" desc\"`.", "location": "query", "type": "string" }, @@ -913,7 +913,7 @@ "type": "string" }, "orderBy": { - "description": "A list of Dns Authorization field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix \" desc\".", + "description": "A list of Dns Authorization field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix `\" desc\"`.", "location": "query", "type": "string" }, @@ -1208,7 +1208,7 @@ "type": "string" }, "orderBy": { - "description": "A list of TrustConfig field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix \" desc\".", + "description": "A list of TrustConfig field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix `\" desc\"`.", "location": "query", "type": "string" }, @@ -1280,7 +1280,7 @@ } } }, - "revision": "20240313", + "revision": "20240417", "rootUrl": "https://certificatemanager.googleapis.com/", "schemas": { "AllowlistedCertificate": { @@ -2197,7 +2197,7 @@ "id": "TrustConfig", "properties": { "allowlistedCertificates": { - "description": "Optional. A certificate matching an allowlisted certificate is always considered valid as long as the certificate is parseable, proof of private key possession is established, and constraints on the certificate’s SAN field are met.", + "description": "Optional. A certificate matching an allowlisted certificate is always considered valid as long as the certificate is parseable, proof of private key possession is established, and constraints on the certificate's SAN field are met.", "items": { "$ref": "AllowlistedCertificate" }, diff --git a/certificatemanager/v1/certificatemanager-gen.go b/certificatemanager/v1/certificatemanager-gen.go index b77f5aee580..61a1f1a1ebd 100644 --- a/certificatemanager/v1/certificatemanager-gen.go +++ b/certificatemanager/v1/certificatemanager-gen.go @@ -1335,7 +1335,7 @@ type TrustConfig struct { // AllowlistedCertificates: Optional. A certificate matching an allowlisted // certificate is always considered valid as long as the certificate is // parseable, proof of private key possession is established, and constraints - // on the certificate’s SAN field are met. + // on the certificate's SAN field are met. AllowlistedCertificates []*AllowlistedCertificate `json:"allowlistedCertificates,omitempty"` // CreateTime: Output only. The creation timestamp of a TrustConfig. CreateTime string `json:"createTime,omitempty"` diff --git a/cloudsupport/v2beta/cloudsupport-api.json b/cloudsupport/v2beta/cloudsupport-api.json index 20fd79333b9..af34a67637e 100644 --- a/cloudsupport/v2beta/cloudsupport-api.json +++ b/cloudsupport/v2beta/cloudsupport-api.json @@ -393,6 +393,47 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "showFeed": { + "description": "Show items in the feed of this case, including case emails, attachments, and comments.", + "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}:showFeed", + "httpMethod": "GET", + "id": "cloudsupport.cases.showFeed", + "parameterOrder": [ + "parent" + ], + "parameters": { + "orderBy": { + "description": "Optional. Field to order feed items by, followed by `asc` or `desc` postfix. The only valid field is `creation_time`. This list is case-insensitive, default sorting order is ascending, and the redundant space characters are insignificant. Example: `creation_time desc`", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of feed items fetched with each request.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying the page of results to return. If unspecified, the first page is retrieved.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The resource name of the case for which feed items should be listed.", + "location": "path", + "pattern": "^[^/]+/[^/]+/cases/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2beta/{+parent}:showFeed", + "response": { + "$ref": "ShowFeedResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } }, "resources": { @@ -578,7 +619,7 @@ } } }, - "revision": "20240424", + "revision": "20240428", "rootUrl": "https://cloudsupport.googleapis.com/", "schemas": { "Actor": { @@ -1076,6 +1117,54 @@ }, "type": "object" }, + "EmailMessage": { + "description": "An email associated with a support case.", + "id": "EmailMessage", + "properties": { + "actor": { + "$ref": "Actor", + "description": "Output only. The user or Google Support agent that created this email message. This is inferred from the headers on the email message.", + "readOnly": true + }, + "bodyContent": { + "$ref": "TextContent", + "description": "Output only. The full email message body in both plaintext and richtext. The plaintext field of body_content will be elided in a best-effort attempt to remove extraneous reply threads.", + "readOnly": true + }, + "ccEmailAddresses": { + "description": "Output only. Email addresses CCed on the email.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "createTime": { + "description": "Output only. Time when this email message object was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. Resource name for the email message.", + "type": "string" + }, + "recipientEmailAddresses": { + "description": "Output only. Email addresses the email was sent to.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "subject": { + "description": "Output only. Subject of the email.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "EscalateCaseRequest": { "description": "The request message for the EscalateCase endpoint.", "id": "EscalateCaseRequest", @@ -1114,6 +1203,39 @@ }, "type": "object" }, + "FeedItem": { + "description": "A feed item associated with a support case.", + "id": "FeedItem", + "properties": { + "attachment": { + "$ref": "Attachment", + "description": "Output only. An attachment attached to the case.", + "readOnly": true + }, + "comment": { + "$ref": "Comment", + "description": "Output only. A comment added to the case.", + "readOnly": true + }, + "deletedAttachment": { + "$ref": "Attachment", + "description": "Output only. A deleted attachment that used to be associated with the support case.", + "readOnly": true + }, + "emailMessage": { + "$ref": "EmailMessage", + "description": "Output only. An email message received in reply to the case.", + "readOnly": true + }, + "eventTime": { + "description": "Output only. Time corresponding to the event of this item.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "ListAttachmentsResponse": { "description": "The response message for the ListAttachments endpoint.", "id": "ListAttachmentsResponse", @@ -1420,6 +1542,39 @@ }, "type": "object" }, + "ShowFeedResponse": { + "description": "The response message for the ShowFeed endpoint.", + "id": "ShowFeedResponse", + "properties": { + "feedItems": { + "description": "The list of feed items associated with the given Case.", + "items": { + "$ref": "FeedItem" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token to retrieve the next page of results. This should be set in the `page_token` field of subsequent `ShowFeedRequests`. If unspecified, there are no more results to retrieve.", + "type": "string" + } + }, + "type": "object" + }, + "TextContent": { + "description": "Used for content on cases/comments/etc. On input either plain_text or rich_text should be supplied but not both.", + "id": "TextContent", + "properties": { + "plainText": { + "description": "Content in this field should be rendered and interpreted as-is. If not provided on input, then rich_text must be provided and this field will contain the plain text extracted from the rich_text input.", + "type": "string" + }, + "richText": { + "description": "Content in this field should be rendered and interpreted as HTML. If not provided on input, then plain_text must be provided and this field will contain the escaped plain text content. Only a subset of HTML tags and styles are allowed on input, all other tags will be stripped/sanitized. Output will always contain safe and valid HTML.", + "type": "string" + } + }, + "type": "object" + }, "WorkflowOperationMetadata": { "description": "Metadata about the operation. Used to lookup the current status.", "id": "WorkflowOperationMetadata", diff --git a/cloudsupport/v2beta/cloudsupport-gen.go b/cloudsupport/v2beta/cloudsupport-gen.go index efa9f5d2f27..b05a03ea4cb 100644 --- a/cloudsupport/v2beta/cloudsupport-gen.go +++ b/cloudsupport/v2beta/cloudsupport-gen.go @@ -772,6 +772,43 @@ func (s *DownloadParameters) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// EmailMessage: An email associated with a support case. +type EmailMessage struct { + // Actor: Output only. The user or Google Support agent that created this email + // message. This is inferred from the headers on the email message. + Actor *Actor `json:"actor,omitempty"` + // BodyContent: Output only. The full email message body in both plaintext and + // richtext. The plaintext field of body_content will be elided in a + // best-effort attempt to remove extraneous reply threads. + BodyContent *TextContent `json:"bodyContent,omitempty"` + // CcEmailAddresses: Output only. Email addresses CCed on the email. + CcEmailAddresses []string `json:"ccEmailAddresses,omitempty"` + // CreateTime: Output only. Time when this email message object was created. + CreateTime string `json:"createTime,omitempty"` + // Name: Identifier. Resource name for the email message. + Name string `json:"name,omitempty"` + // RecipientEmailAddresses: Output only. Email addresses the email was sent to. + RecipientEmailAddresses []string `json:"recipientEmailAddresses,omitempty"` + // Subject: Output only. Subject of the email. + Subject string `json:"subject,omitempty"` + // ForceSendFields is a list of field names (e.g. "Actor") 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. "Actor") 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 *EmailMessage) MarshalJSON() ([]byte, error) { + type NoMethod EmailMessage + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // EscalateCaseRequest: The request message for the EscalateCase endpoint. type EscalateCaseRequest struct { // Escalation: The escalation information to be sent with the escalation @@ -828,6 +865,37 @@ func (s *Escalation) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// FeedItem: A feed item associated with a support case. +type FeedItem struct { + // Attachment: Output only. An attachment attached to the case. + Attachment *Attachment `json:"attachment,omitempty"` + // Comment: Output only. A comment added to the case. + Comment *Comment `json:"comment,omitempty"` + // DeletedAttachment: Output only. A deleted attachment that used to be + // associated with the support case. + DeletedAttachment *Attachment `json:"deletedAttachment,omitempty"` + // EmailMessage: Output only. An email message received in reply to the case. + EmailMessage *EmailMessage `json:"emailMessage,omitempty"` + // EventTime: Output only. Time corresponding to the event of this item. + EventTime string `json:"eventTime,omitempty"` + // ForceSendFields is a list of field names (e.g. "Attachment") 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. "Attachment") 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 *FeedItem) MarshalJSON() ([]byte, error) { + type NoMethod FeedItem + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // ListAttachmentsResponse: The response message for the ListAttachments // endpoint. type ListAttachmentsResponse struct { @@ -1135,6 +1203,66 @@ func (s *SearchCasesResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// ShowFeedResponse: The response message for the ShowFeed endpoint. +type ShowFeedResponse struct { + // FeedItems: The list of feed items associated with the given Case. + FeedItems []*FeedItem `json:"feedItems,omitempty"` + // NextPageToken: A token to retrieve the next page of results. This should be + // set in the `page_token` field of subsequent `ShowFeedRequests`. If + // unspecified, there are no more results to retrieve. + NextPageToken string `json:"nextPageToken,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the server. + googleapi.ServerResponse `json:"-"` + // ForceSendFields is a list of field names (e.g. "FeedItems") 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. "FeedItems") 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 *ShowFeedResponse) MarshalJSON() ([]byte, error) { + type NoMethod ShowFeedResponse + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + +// TextContent: Used for content on cases/comments/etc. On input either +// plain_text or rich_text should be supplied but not both. +type TextContent struct { + // PlainText: Content in this field should be rendered and interpreted as-is. + // If not provided on input, then rich_text must be provided and this field + // will contain the plain text extracted from the rich_text input. + PlainText string `json:"plainText,omitempty"` + // RichText: Content in this field should be rendered and interpreted as HTML. + // If not provided on input, then plain_text must be provided and this field + // will contain the escaped plain text content. Only a subset of HTML tags and + // styles are allowed on input, all other tags will be stripped/sanitized. + // Output will always contain safe and valid HTML. + RichText string `json:"richText,omitempty"` + // ForceSendFields is a list of field names (e.g. "PlainText") 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. "PlainText") 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 *TextContent) MarshalJSON() ([]byte, error) { + type NoMethod TextContent + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // WorkflowOperationMetadata: Metadata about the operation. Used to lookup the // current status. type WorkflowOperationMetadata struct { @@ -2305,6 +2433,161 @@ func (c *CasesSearchCall) Pages(ctx context.Context, f func(*SearchCasesResponse } } +type CasesShowFeedCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// ShowFeed: Show items in the feed of this case, including case emails, +// attachments, and comments. +// +// - parent: The resource name of the case for which feed items should be +// listed. +func (r *CasesService) ShowFeed(parent string) *CasesShowFeedCall { + c := &CasesShowFeedCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// OrderBy sets the optional parameter "orderBy": Field to order feed items by, +// followed by `asc` or `desc` postfix. The only valid field is +// `creation_time`. This list is case-insensitive, default sorting order is +// ascending, and the redundant space characters are insignificant. Example: +// `creation_time desc` +func (c *CasesShowFeedCall) OrderBy(orderBy string) *CasesShowFeedCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number of feed +// items fetched with each request. +func (c *CasesShowFeedCall) PageSize(pageSize int64) *CasesShowFeedCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": A token identifying the +// page of results to return. If unspecified, the first page is retrieved. +func (c *CasesShowFeedCall) PageToken(pageToken string) *CasesShowFeedCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *CasesShowFeedCall) Fields(s ...googleapi.Field) *CasesShowFeedCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. +func (c *CasesShowFeedCall) IfNoneMatch(entityTag string) *CasesShowFeedCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *CasesShowFeedCall) Context(ctx context.Context) *CasesShowFeedCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *CasesShowFeedCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *CasesShowFeedCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v2beta/{+parent}:showFeed") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "cloudsupport.cases.showFeed" call. +// Any non-2xx status code is an error. Response headers are in either +// *ShowFeedResponse.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to +// check whether the returned error was because http.StatusNotModified was +// returned. +func (c *CasesShowFeedCall) Do(opts ...googleapi.CallOption) (*ShowFeedResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &ShowFeedResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *CasesShowFeedCall) Pages(ctx context.Context, f func(*ShowFeedResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + type CasesAttachmentsListCall struct { s *Service parent string diff --git a/kmsinventory/v1/kmsinventory-api.json b/kmsinventory/v1/kmsinventory-api.json index 1c148f399aa..4231485993a 100644 --- a/kmsinventory/v1/kmsinventory-api.json +++ b/kmsinventory/v1/kmsinventory-api.json @@ -242,7 +242,7 @@ } } }, - "revision": "20230716", + "revision": "20240427", "rootUrl": "https://kmsinventory.googleapis.com/", "schemas": { "GoogleCloudKmsInventoryV1ListCryptoKeysResponse": { @@ -494,6 +494,7 @@ "EC_SIGN_P256_SHA256", "EC_SIGN_P384_SHA384", "EC_SIGN_SECP256K1_SHA256", + "EC_SIGN_ED25519", "HMAC_SHA256", "HMAC_SHA1", "HMAC_SHA384", @@ -531,6 +532,7 @@ "ECDSA on the NIST P-256 curve with a SHA256 digest. Other hash functions can also be used: https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms", "ECDSA on the NIST P-384 curve with a SHA384 digest. Other hash functions can also be used: https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms", "ECDSA on the non-NIST secp256k1 curve. This curve is only supported for HSM protection level. Other hash functions can also be used: https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms", + "EdDSA on the Curve25519 in pure mode (taking data as input).", "HMAC-SHA256 signing with a 256 bit key.", "HMAC-SHA1 signing with a 160 bit key.", "HMAC-SHA384 signing with a 384 bit key.", @@ -698,6 +700,7 @@ "EC_SIGN_P256_SHA256", "EC_SIGN_P384_SHA384", "EC_SIGN_SECP256K1_SHA256", + "EC_SIGN_ED25519", "HMAC_SHA256", "HMAC_SHA1", "HMAC_SHA384", @@ -735,6 +738,7 @@ "ECDSA on the NIST P-256 curve with a SHA256 digest. Other hash functions can also be used: https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms", "ECDSA on the NIST P-384 curve with a SHA384 digest. Other hash functions can also be used: https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms", "ECDSA on the non-NIST secp256k1 curve. This curve is only supported for HSM protection level. Other hash functions can also be used: https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms", + "EdDSA on the Curve25519 in pure mode (taking data as input).", "HMAC-SHA256 signing with a 256 bit key.", "HMAC-SHA1 signing with a 160 bit key.", "HMAC-SHA384 signing with a 384 bit key.", diff --git a/kmsinventory/v1/kmsinventory-gen.go b/kmsinventory/v1/kmsinventory-gen.go index af143d27fec..a03d7780e1c 100644 --- a/kmsinventory/v1/kmsinventory-gen.go +++ b/kmsinventory/v1/kmsinventory-gen.go @@ -536,6 +536,8 @@ type GoogleCloudKmsV1CryptoKeyVersion struct { // curve is only supported for HSM protection level. Other hash functions can // also be used: // https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms + // "EC_SIGN_ED25519" - EdDSA on the Curve25519 in pure mode (taking data as + // input). // "HMAC_SHA256" - HMAC-SHA256 signing with a 256 bit key. // "HMAC_SHA1" - HMAC-SHA1 signing with a 160 bit key. // "HMAC_SHA384" - HMAC-SHA384 signing with a 384 bit key. @@ -713,6 +715,8 @@ type GoogleCloudKmsV1CryptoKeyVersionTemplate struct { // curve is only supported for HSM protection level. Other hash functions can // also be used: // https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms + // "EC_SIGN_ED25519" - EdDSA on the Curve25519 in pure mode (taking data as + // input). // "HMAC_SHA256" - HMAC-SHA256 signing with a 256 bit key. // "HMAC_SHA1" - HMAC-SHA1 signing with a 160 bit key. // "HMAC_SHA384" - HMAC-SHA384 signing with a 384 bit key. diff --git a/servicedirectory/v1beta1/servicedirectory-api.json b/servicedirectory/v1beta1/servicedirectory-api.json index 2ad4a1e8744..4253a59f148 100644 --- a/servicedirectory/v1beta1/servicedirectory-api.json +++ b/servicedirectory/v1beta1/servicedirectory-api.json @@ -310,7 +310,7 @@ "type": "string" }, "pageSize": { - "description": "Optional. The maximum number of items to return.", + "description": "Optional. The maximum number of items to return. The default value is 100.", "format": "int32", "location": "query", "type": "integer" @@ -561,7 +561,7 @@ "type": "string" }, "pageSize": { - "description": "Optional. The maximum number of items to return.", + "description": "Optional. The maximum number of items to return. The default value is 100.", "format": "int32", "location": "query", "type": "integer" @@ -812,7 +812,7 @@ "type": "string" }, "pageSize": { - "description": "Optional. The maximum number of items to return.", + "description": "Optional. The maximum number of items to return. The default value is 100.", "format": "int32", "location": "query", "type": "integer" @@ -971,7 +971,7 @@ } } }, - "revision": "20240121", + "revision": "20240420", "rootUrl": "https://servicedirectory.googleapis.com/", "schemas": { "Binding": { diff --git a/servicedirectory/v1beta1/servicedirectory-gen.go b/servicedirectory/v1beta1/servicedirectory-gen.go index 1f63bdf8997..d9dbe93a908 100644 --- a/servicedirectory/v1beta1/servicedirectory-gen.go +++ b/servicedirectory/v1beta1/servicedirectory-gen.go @@ -1714,7 +1714,7 @@ func (c *ProjectsLocationsNamespacesListCall) OrderBy(orderBy string) *ProjectsL } // PageSize sets the optional parameter "pageSize": The maximum number of items -// to return. +// to return. The default value is 100. func (c *ProjectsLocationsNamespacesListCall) PageSize(pageSize int64) *ProjectsLocationsNamespacesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -2627,7 +2627,7 @@ func (c *ProjectsLocationsNamespacesServicesListCall) OrderBy(orderBy string) *P } // PageSize sets the optional parameter "pageSize": The maximum number of items -// to return. +// to return. The default value is 100. func (c *ProjectsLocationsNamespacesServicesListCall) PageSize(pageSize int64) *ProjectsLocationsNamespacesServicesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -3543,7 +3543,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsListCall) OrderBy(orderBy s } // PageSize sets the optional parameter "pageSize": The maximum number of items -// to return. +// to return. The default value is 100. func (c *ProjectsLocationsNamespacesServicesEndpointsListCall) PageSize(pageSize int64) *ProjectsLocationsNamespacesServicesEndpointsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c