From 199783cee2a58c41a8a38184a01bfe159363d3f9 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 20 Oct 2023 00:22:13 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2229) --- analyticsadmin/v1alpha/analyticsadmin-api.json | 4 ++-- analyticsadmin/v1alpha/analyticsadmin-gen.go | 5 +++-- androidenterprise/v1/androidenterprise-api.json | 6 +++--- androidenterprise/v1/androidenterprise-gen.go | 4 ++-- assuredworkloads/v1/assuredworkloads-api.json | 7 ++++++- assuredworkloads/v1/assuredworkloads-gen.go | 6 ++++++ dialogflow/v3/dialogflow-api.json | 10 +++++++++- dialogflow/v3/dialogflow-gen.go | 9 +++++++++ dialogflow/v3beta1/dialogflow-api.json | 10 +++++++++- dialogflow/v3beta1/dialogflow-gen.go | 9 +++++++++ playintegrity/v1/playintegrity-api.json | 4 ++-- playintegrity/v1/playintegrity-gen.go | 2 +- testing/v1/testing-api.json | 8 ++++---- testing/v1/testing-gen.go | 6 +++--- 14 files changed, 68 insertions(+), 22 deletions(-) diff --git a/analyticsadmin/v1alpha/analyticsadmin-api.json b/analyticsadmin/v1alpha/analyticsadmin-api.json index f87b590fa62..4bfe9575289 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-api.json +++ b/analyticsadmin/v1alpha/analyticsadmin-api.json @@ -4298,7 +4298,7 @@ } } }, - "revision": "20231004", + "revision": "20231018", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1alphaAccessBetweenFilter": { @@ -5668,7 +5668,7 @@ "type": "string" }, "systemDefined": { - "description": "Output only. Default Channel Group defined by Google, which cannot be updated.", + "description": "Output only. If true, then this channel group is the Default Channel Group predefined by Google Analytics. Display name and grouping rules cannot be updated for this channel group.", "readOnly": true, "type": "boolean" } diff --git a/analyticsadmin/v1alpha/analyticsadmin-gen.go b/analyticsadmin/v1alpha/analyticsadmin-gen.go index 4f7aedb18e6..97f54330d2b 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-gen.go +++ b/analyticsadmin/v1alpha/analyticsadmin-gen.go @@ -2814,8 +2814,9 @@ type GoogleAnalyticsAdminV1alphaChannelGroup struct { // Format: properties/{property}/channelGroups/{channel_group} Name string `json:"name,omitempty"` - // SystemDefined: Output only. Default Channel Group defined by Google, - // which cannot be updated. + // SystemDefined: Output only. If true, then this channel group is the + // Default Channel Group predefined by Google Analytics. Display name + // and grouping rules cannot be updated for this channel group. SystemDefined bool `json:"systemDefined,omitempty"` // ServerResponse contains the HTTP response code and headers from the diff --git a/androidenterprise/v1/androidenterprise-api.json b/androidenterprise/v1/androidenterprise-api.json index 00db0b6e984..aa841e8e566 100644 --- a/androidenterprise/v1/androidenterprise-api.json +++ b/androidenterprise/v1/androidenterprise-api.json @@ -2649,7 +2649,7 @@ } } }, - "revision": "20230801", + "revision": "20231018", "rootUrl": "https://androidenterprise.googleapis.com/", "schemas": { "Administrator": { @@ -3990,11 +3990,11 @@ "id": "Permission", "properties": { "description": { - "description": "A longer description of the Permissions resource, giving more details of what it affects.", + "description": "A longer description of the Permissions resource, giving more details of what it affects. This field may be absent.", "type": "string" }, "name": { - "description": "The name of the permission.", + "description": "The name of the permission. This field may be absent.", "type": "string" }, "permissionId": { diff --git a/androidenterprise/v1/androidenterprise-gen.go b/androidenterprise/v1/androidenterprise-gen.go index 5541f45012d..f74880f34ce 100644 --- a/androidenterprise/v1/androidenterprise-gen.go +++ b/androidenterprise/v1/androidenterprise-gen.go @@ -2725,10 +2725,10 @@ func (s *PageInfo) MarshalJSON() ([]byte, error) { // enterprise. type Permission struct { // Description: A longer description of the Permissions resource, giving - // more details of what it affects. + // more details of what it affects. This field may be absent. Description string `json:"description,omitempty"` - // Name: The name of the permission. + // Name: The name of the permission. This field may be absent. Name string `json:"name,omitempty"` // PermissionId: An opaque string uniquely identifying the permission. diff --git a/assuredworkloads/v1/assuredworkloads-api.json b/assuredworkloads/v1/assuredworkloads-api.json index 0fa90aae316..252c7a98d26 100644 --- a/assuredworkloads/v1/assuredworkloads-api.json +++ b/assuredworkloads/v1/assuredworkloads-api.json @@ -566,7 +566,7 @@ } } }, - "revision": "20230914", + "revision": "20231017", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": { @@ -1207,6 +1207,11 @@ "description": "Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}", "type": "string" }, + "resourceMonitoringEnabled": { + "description": "Output only. Indicates whether resource monitoring is enabled for workload or not. It is true when Resource feed is subscribed to AWM topic and AWM Service Agent Role is binded to AW Service Account for resource Assured workload.", + "readOnly": true, + "type": "boolean" + }, "resourceSettings": { "description": "Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.", "items": { diff --git a/assuredworkloads/v1/assuredworkloads-gen.go b/assuredworkloads/v1/assuredworkloads-gen.go index 2e62f8015e5..4d680ccd9b3 100644 --- a/assuredworkloads/v1/assuredworkloads-gen.go +++ b/assuredworkloads/v1/assuredworkloads-gen.go @@ -1097,6 +1097,12 @@ type GoogleCloudAssuredworkloadsV1Workload struct { // Format: folders/{folder_id} ProvisionedResourcesParent string `json:"provisionedResourcesParent,omitempty"` + // ResourceMonitoringEnabled: Output only. Indicates whether resource + // monitoring is enabled for workload or not. It is true when Resource + // feed is subscribed to AWM topic and AWM Service Agent Role is binded + // to AW Service Account for resource Assured workload. + ResourceMonitoringEnabled bool `json:"resourceMonitoringEnabled,omitempty"` + // ResourceSettings: Input only. Resource properties that are used to // customize workload resources. These properties (such as custom // project id) will be used to create workload resources if possible. diff --git a/dialogflow/v3/dialogflow-api.json b/dialogflow/v3/dialogflow-api.json index 94b193be374..3b3ae168686 100644 --- a/dialogflow/v3/dialogflow-api.json +++ b/dialogflow/v3/dialogflow-api.json @@ -4126,7 +4126,7 @@ } } }, - "revision": "20230919", + "revision": "20231011", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -7175,6 +7175,14 @@ "description": "Whether to disable webhook calls for this request.", "type": "boolean" }, + "endUserMetadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. Information about the end-user to improve the relevance and accuracy of generative answers. This will be interpreted and used by a language model, so, for good results, the data should be self-descriptive, and in a simple structure. Example: ```json { \"subscription plan\": \"Business Premium Plus\", \"devices owned\": [ {\"model\": \"Google Pixel 7\"}, {\"model\": \"Google Pixel Tablet\"} ] } ```", + "type": "object" + }, "flowVersions": { "description": "A list of flow versions to override for the request. Format: `projects//locations//agents//flows//versions/`. If version 1 of flow X is included in this list, the traffic of flow X will go through version 1 regardless of the version configuration in the environment. Each flow can have at most one version specified in this list.", "items": { diff --git a/dialogflow/v3/dialogflow-gen.go b/dialogflow/v3/dialogflow-gen.go index d297af9d5bb..498f4a9a6ac 100644 --- a/dialogflow/v3/dialogflow-gen.go +++ b/dialogflow/v3/dialogflow-gen.go @@ -6190,6 +6190,15 @@ type GoogleCloudDialogflowCxV3QueryParameters struct { // DisableWebhook: Whether to disable webhook calls for this request. DisableWebhook bool `json:"disableWebhook,omitempty"` + // EndUserMetadata: Optional. Information about the end-user to improve + // the relevance and accuracy of generative answers. This will be + // interpreted and used by a language model, so, for good results, the + // data should be self-descriptive, and in a simple structure. Example: + // ```json { "subscription plan": "Business Premium Plus", "devices + // owned": [ {"model": "Google Pixel 7"}, {"model": "Google Pixel + // Tablet"} ] } ``` + EndUserMetadata googleapi.RawMessage `json:"endUserMetadata,omitempty"` + // FlowVersions: A list of flow versions to override for the request. // Format: `projects//locations//agents//flows//versions/`. If version 1 // of flow X is included in this list, the traffic of flow X will go diff --git a/dialogflow/v3beta1/dialogflow-api.json b/dialogflow/v3beta1/dialogflow-api.json index eed920fd9ae..3c784d344c8 100644 --- a/dialogflow/v3beta1/dialogflow-api.json +++ b/dialogflow/v3beta1/dialogflow-api.json @@ -4126,7 +4126,7 @@ } } }, - "revision": "20230919", + "revision": "20231011", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -9358,6 +9358,14 @@ "description": "Whether to disable webhook calls for this request.", "type": "boolean" }, + "endUserMetadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. Information about the end-user to improve the relevance and accuracy of generative answers. This will be interpreted and used by a language model, so, for good results, the data should be self-descriptive, and in a simple structure. Example: ```json { \"subscription plan\": \"Business Premium Plus\", \"devices owned\": [ {\"model\": \"Google Pixel 7\"}, {\"model\": \"Google Pixel Tablet\"} ] } ```", + "type": "object" + }, "flowVersions": { "description": "A list of flow versions to override for the request. Format: `projects//locations//agents//flows//versions/`. If version 1 of flow X is included in this list, the traffic of flow X will go through version 1 regardless of the version configuration in the environment. Each flow can have at most one version specified in this list.", "items": { diff --git a/dialogflow/v3beta1/dialogflow-gen.go b/dialogflow/v3beta1/dialogflow-gen.go index 90709ffe46e..43929a5ded1 100644 --- a/dialogflow/v3beta1/dialogflow-gen.go +++ b/dialogflow/v3beta1/dialogflow-gen.go @@ -10237,6 +10237,15 @@ type GoogleCloudDialogflowCxV3beta1QueryParameters struct { // DisableWebhook: Whether to disable webhook calls for this request. DisableWebhook bool `json:"disableWebhook,omitempty"` + // EndUserMetadata: Optional. Information about the end-user to improve + // the relevance and accuracy of generative answers. This will be + // interpreted and used by a language model, so, for good results, the + // data should be self-descriptive, and in a simple structure. Example: + // ```json { "subscription plan": "Business Premium Plus", "devices + // owned": [ {"model": "Google Pixel 7"}, {"model": "Google Pixel + // Tablet"} ] } ``` + EndUserMetadata googleapi.RawMessage `json:"endUserMetadata,omitempty"` + // FlowVersions: A list of flow versions to override for the request. // Format: `projects//locations//agents//flows//versions/`. If version 1 // of flow X is included in this list, the traffic of flow X will go diff --git a/playintegrity/v1/playintegrity-api.json b/playintegrity/v1/playintegrity-api.json index 7a23714202f..a16c98593fe 100644 --- a/playintegrity/v1/playintegrity-api.json +++ b/playintegrity/v1/playintegrity-api.json @@ -138,7 +138,7 @@ } } }, - "revision": "20231005", + "revision": "20231018", "rootUrl": "https://playintegrity.googleapis.com/", "schemas": { "AccountActivity": { @@ -371,7 +371,7 @@ "id": "UserRemediationDetails", "properties": { "remediation": { - "description": "Description of the user remediation action. Required.", + "description": "Description of the user remediation action.", "enum": [ "UNKNOWN_USER_REMEDIATION", "RESTORE_FACTORY_ROM", diff --git a/playintegrity/v1/playintegrity-gen.go b/playintegrity/v1/playintegrity-gen.go index 97b404b0098..7ca7a077258 100644 --- a/playintegrity/v1/playintegrity-gen.go +++ b/playintegrity/v1/playintegrity-gen.go @@ -574,7 +574,7 @@ func (s *TokenPayloadExternal) MarshalJSON() ([]byte, error) { // UserRemediationDetails: Contains details of remediation guidance that // the user can perform. type UserRemediationDetails struct { - // Remediation: Description of the user remediation action. Required. + // Remediation: Description of the user remediation action. // // Possible values: // "UNKNOWN_USER_REMEDIATION" - User remediation is unknown. diff --git a/testing/v1/testing-api.json b/testing/v1/testing-api.json index 7c845cd3c6a..0c406fa6ca6 100644 --- a/testing/v1/testing-api.json +++ b/testing/v1/testing-api.json @@ -442,7 +442,7 @@ } } }, - "revision": "20230908", + "revision": "20231017", "rootUrl": "https://testing.googleapis.com/", "schemas": { "Account": { @@ -1758,7 +1758,7 @@ "id": "ManualSharding", "properties": { "testTargetsForShard": { - "description": "Required. Group of packages, classes, and/or test methods to be run for each manually-created shard. You must specify at least one shard if this field is present. When you select one or more physical devices, the number of repeated test_targets_for_shard must be \u003c= 50. When you select one or more ARM virtual devices, it must be \u003c= 100. When you select only x86 virtual devices, it must be \u003c= 500.", + "description": "Required. Group of packages, classes, and/or test methods to be run for each manually-created shard. You must specify at least one shard if this field is present. When you select one or more physical devices, the number of repeated test_targets_for_shard must be \u003c= 50. When you select one or more ARM virtual devices, it must be \u003c= 200. When you select only x86 virtual devices, it must be \u003c= 500.", "items": { "$ref": "TestTargetsForShard" }, @@ -2142,7 +2142,7 @@ "id": "SmartSharding", "properties": { "targetedShardDuration": { - "description": "The amount of time tests within a shard should take. Default: 300 seconds (5 minutes). The minimum allowed: 120 seconds (2 minutes). The shard count is dynamically set based on time, up to the maximum shard limit (described below). To guarantee at least one test case for each shard, the number of shards will not exceed the number of test cases. Shard duration will be exceeded if: - The maximum shard limit is reached and there is more calculated test time remaining to allocate into shards. - Any individual test is estimated to be longer than the targeted shard duration. Shard duration is not guaranteed because smart sharding uses test case history and default durations which may not be accurate. The rules for finding the test case timing records are: - If the service has processed a test case in the last 30 days, the record of the latest successful test case will be used. - For new test cases, the average duration of other known test cases will be used. - If there are no previous test case timing records available, the default test case duration is 15 seconds. Because the actual shard duration can exceed the targeted shard duration, we recommend that you set the targeted value at least 5 minutes less than the maximum allowed test timeout (45 minutes for physical devices and 60 minutes for virtual), or that you use the custom test timeout value that you set. This approach avoids cancelling the shard before all tests can finish. Note that there is a limit for maximum number of shards. When you select one or more physical devices, the number of shards must be \u003c= 50. When you select one or more ARM virtual devices, it must be \u003c= 100. When you select only x86 virtual devices, it must be \u003c= 500. To guarantee at least one test case for per shard, the number of shards will not exceed the number of test cases. Each shard created counts toward daily test quota.", + "description": "The amount of time tests within a shard should take. Default: 300 seconds (5 minutes). The minimum allowed: 120 seconds (2 minutes). The shard count is dynamically set based on time, up to the maximum shard limit (described below). To guarantee at least one test case for each shard, the number of shards will not exceed the number of test cases. Shard duration will be exceeded if: - The maximum shard limit is reached and there is more calculated test time remaining to allocate into shards. - Any individual test is estimated to be longer than the targeted shard duration. Shard duration is not guaranteed because smart sharding uses test case history and default durations which may not be accurate. The rules for finding the test case timing records are: - If the service has processed a test case in the last 30 days, the record of the latest successful test case will be used. - For new test cases, the average duration of other known test cases will be used. - If there are no previous test case timing records available, the default test case duration is 15 seconds. Because the actual shard duration can exceed the targeted shard duration, we recommend that you set the targeted value at least 5 minutes less than the maximum allowed test timeout (45 minutes for physical devices and 60 minutes for virtual), or that you use the custom test timeout value that you set. This approach avoids cancelling the shard before all tests can finish. Note that there is a limit for maximum number of shards. When you select one or more physical devices, the number of shards must be \u003c= 50. When you select one or more ARM virtual devices, it must be \u003c= 200. When you select only x86 virtual devices, it must be \u003c= 500. To guarantee at least one test case for per shard, the number of shards will not exceed the number of test cases. Each shard created counts toward daily test quota.", "format": "google-duration", "type": "string" } @@ -2741,7 +2741,7 @@ "id": "UniformSharding", "properties": { "numShards": { - "description": "Required. The total number of shards to create. This must always be a positive number that is no greater than the total number of test cases. When you select one or more physical devices, the number of shards must be \u003c= 50. When you select one or more ARM virtual devices, it must be \u003c= 100. When you select only x86 virtual devices, it must be \u003c= 500.", + "description": "Required. The total number of shards to create. This must always be a positive number that is no greater than the total number of test cases. When you select one or more physical devices, the number of shards must be \u003c= 50. When you select one or more ARM virtual devices, it must be \u003c= 200. When you select only x86 virtual devices, it must be \u003c= 500.", "format": "int32", "type": "integer" } diff --git a/testing/v1/testing-gen.go b/testing/v1/testing-gen.go index c70e4017c89..50e7c86773d 100644 --- a/testing/v1/testing-gen.go +++ b/testing/v1/testing-gen.go @@ -2250,7 +2250,7 @@ type ManualSharding struct { // specify at least one shard if this field is present. When you select // one or more physical devices, the number of repeated // test_targets_for_shard must be <= 50. When you select one or more ARM - // virtual devices, it must be <= 100. When you select only x86 virtual + // virtual devices, it must be <= 200. When you select only x86 virtual // devices, it must be <= 500. TestTargetsForShard []*TestTargetsForShard `json:"testTargetsForShard,omitempty"` @@ -2982,7 +2982,7 @@ type SmartSharding struct { // avoids cancelling the shard before all tests can finish. Note that // there is a limit for maximum number of shards. When you select one or // more physical devices, the number of shards must be <= 50. When you - // select one or more ARM virtual devices, it must be <= 100. When you + // select one or more ARM virtual devices, it must be <= 200. When you // select only x86 virtual devices, it must be <= 500. To guarantee at // least one test case for per shard, the number of shards will not // exceed the number of test cases. Each shard created counts toward @@ -3810,7 +3810,7 @@ type UniformSharding struct { // always be a positive number that is no greater than the total number // of test cases. When you select one or more physical devices, the // number of shards must be <= 50. When you select one or more ARM - // virtual devices, it must be <= 100. When you select only x86 virtual + // virtual devices, it must be <= 200. When you select only x86 virtual // devices, it must be <= 500. NumShards int64 `json:"numShards,omitempty"`