From 52ac52201c6d4bdbb5a5a7b841da53d053a3a00b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sat, 15 Jul 2023 00:22:13 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2072) --- batch/v1/batch-api.json | 21 +- batch/v1/batch-gen.go | 62 ++++-- container/v1/container-api.json | 58 +++++- container/v1/container-gen.go | 127 ++++++++++-- datacatalog/v1/datacatalog-api.json | 3 +- dialogflow/v2/dialogflow-api.json | 62 +++--- dialogflow/v2/dialogflow-gen.go | 159 +++++++-------- dialogflow/v2beta1/dialogflow-api.json | 68 +++---- dialogflow/v2beta1/dialogflow-gen.go | 181 ++++++++---------- dialogflow/v3/dialogflow-api.json | 44 ++--- dialogflow/v3/dialogflow-gen.go | 111 +++++------ gkebackup/v1/gkebackup-api.json | 4 +- gkebackup/v1/gkebackup-gen.go | 2 +- gkehub/v1/gkehub-api.json | 29 ++- gkehub/v1/gkehub-gen.go | 15 +- gkehub/v1alpha/gkehub-api.json | 91 ++++++++- gkehub/v1alpha/gkehub-gen.go | 68 ++++++- gkehub/v1beta/gkehub-api.json | 61 +++++- gkehub/v1beta/gkehub-gen.go | 30 ++- lifesciences/v2beta/lifesciences-api.json | 3 +- .../v1alpha1/migrationcenter-api.json | 6 +- .../v1alpha1/migrationcenter-gen.go | 4 +- .../v1/networkmanagement-api.json | 14 +- networkmanagement/v1/networkmanagement-gen.go | 14 ++ .../v1beta1/networkmanagement-api.json | 18 +- .../v1beta1/networkmanagement-gen.go | 16 +- pubsublite/v1/pubsublite-api.json | 3 +- tpu/v2/tpu-api.json | 16 +- tpu/v2/tpu-gen.go | 12 +- tpu/v2alpha1/tpu-api.json | 14 +- tpu/v2alpha1/tpu-gen.go | 9 +- .../v1/workflowexecutions-api.json | 12 +- .../v1/workflowexecutions-gen.go | 30 +-- 33 files changed, 897 insertions(+), 470 deletions(-) diff --git a/batch/v1/batch-api.json b/batch/v1/batch-api.json index b88fb8fde7b..b3766ebf63d 100644 --- a/batch/v1/batch-api.json +++ b/batch/v1/batch-api.json @@ -291,6 +291,11 @@ "location": "query", "type": "string" }, + "orderBy": { + "description": "Optional. Sort results. Supported are \"name\", \"name desc\", \"create_time\", and \"create_time desc\".", + "location": "query", + "type": "string" + }, "pageSize": { "description": "Page size.", "format": "int32", @@ -556,7 +561,7 @@ } } }, - "revision": "20230621", + "revision": "20230705", "rootUrl": "https://batch.googleapis.com/", "schemas": { "Accelerator": { @@ -568,6 +573,10 @@ "format": "int64", "type": "string" }, + "driverVersion": { + "description": "Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as \"470.103.01\", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.", + "type": "string" + }, "installGpuDrivers": { "deprecated": true, "description": "Deprecated: please use instances[0].install_gpu_drivers instead.", @@ -658,7 +667,7 @@ "id": "AgentInfo", "properties": { "jobId": { - "description": "The assigned Job ID", + "description": "Optional. The assigned Job ID", "type": "string" }, "reportTime": { @@ -1082,7 +1091,7 @@ "type": "string" }, "image": { - "description": "Name of a public or custom image used as the data source. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * \"batch-debian\": use Batch Debian images. * \"batch-centos\": use Batch CentOS images. * \"batch-cos\": use Batch Container-Optimized images. * \"batch-hpc-centos\": use Batch HPC CentOS images.", + "description": "Name of an image used as the data source. For example, the following are all valid URLs: * Specify the image by its family name: projects/project/global/images/family/image_family * Specify the image version: projects/project/global/images/image_version You can also use Batch customized image in short names. The following image values are supported for a boot disk: * `batch-debian`: use Batch Debian images. * `batch-centos`: use Batch CentOS images. * `batch-cos`: use Batch Container-Optimized images. * `batch-hpc-centos`: use Batch HPC CentOS images.", "type": "string" }, "sizeGb": { @@ -1197,7 +1206,7 @@ "id": "InstancePolicyOrTemplate", "properties": { "installGpuDrivers": { - "description": "Set this field true if users want Batch to help fetch drivers from a third party location and install them for GPUs specified in policy.accelerators or instance_template on their behalf. Default is false.", + "description": "Set this field true if users want Batch to help fetch drivers from a third party location and install them for GPUs specified in policy.accelerators or instance_template on their behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.", "type": "boolean" }, "instanceTemplate": { @@ -1660,7 +1669,7 @@ "id": "NetworkInterface", "properties": { "network": { - "description": "The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}", + "description": "The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: https://www.googleapis.com/compute/v1/projects/project/global/networks/network projects/project/global/networks/network global/networks/network ", "type": "string" }, "noExternalIpAddress": { @@ -1668,7 +1677,7 @@ "type": "boolean" }, "subnetwork": { - "description": "The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}", + "description": "The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork projects/project/regions/region/subnetworks/subnetwork regions/region/subnetworks/subnetwork ", "type": "string" } }, diff --git a/batch/v1/batch-gen.go b/batch/v1/batch-gen.go index b9bf45894cd..a99116d4357 100644 --- a/batch/v1/batch-gen.go +++ b/batch/v1/batch-gen.go @@ -225,6 +225,13 @@ type Accelerator struct { // Count: The number of accelerators of this type. Count int64 `json:"count,omitempty,string"` + // DriverVersion: Optional. The NVIDIA GPU driver version that should be + // installed for this type. You can define the specific driver version + // such as "470.103.01", following the driver version requirements in + // https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. + // Batch will install the specific accelerator driver if qualified. + DriverVersion string `json:"driverVersion,omitempty"` + // InstallGpuDrivers: Deprecated: please use // instances[0].install_gpu_drivers instead. InstallGpuDrivers bool `json:"installGpuDrivers,omitempty"` @@ -374,7 +381,7 @@ func (s *AgentEnvironment) MarshalJSON() ([]byte, error) { // AgentInfo: VM Agent Info. type AgentInfo struct { - // JobId: The assigned Job ID + // JobId: Optional. The assigned Job ID JobId string `json:"jobId,omitempty"` // ReportTime: When the AgentInfo is generated. @@ -1022,16 +1029,15 @@ type Disk struct { // for local ssds. We only support "SCSI" for persistent disks now. DiskInterface string `json:"diskInterface,omitempty"` - // Image: Name of a public or custom image used as the data source. For - // example, the following are all valid URLs: * Specify the image by its - // family name: projects/{project}/global/images/family/{image_family} * - // Specify the image version: - // projects/{project}/global/images/{image_version} You can also use - // Batch customized image in short names. The following image values are - // supported for a boot disk: * "batch-debian": use Batch Debian images. - // * "batch-centos": use Batch CentOS images. * "batch-cos": use Batch - // Container-Optimized images. * "batch-hpc-centos": use Batch HPC - // CentOS images. + // Image: Name of an image used as the data source. For example, the + // following are all valid URLs: * Specify the image by its family name: + // projects/project/global/images/family/image_family * Specify the + // image version: projects/project/global/images/image_version You can + // also use Batch customized image in short names. The following image + // values are supported for a boot disk: * `batch-debian`: use Batch + // Debian images. * `batch-centos`: use Batch CentOS images. * + // `batch-cos`: use Batch Container-Optimized images. * + // `batch-hpc-centos`: use Batch HPC CentOS images. Image string `json:"image,omitempty"` // SizeGb: Disk size in GB. For persistent disk, this field is ignored @@ -1219,7 +1225,11 @@ type InstancePolicyOrTemplate struct { // InstallGpuDrivers: Set this field true if users want Batch to help // fetch drivers from a third party location and install them for GPUs // specified in policy.accelerators or instance_template on their - // behalf. Default is false. + // behalf. Default is false. For Container-Optimized Image cases, Batch + // will install the accelerator driver following milestones of + // https://cloud.google.com/container-optimized-os/docs/release-notes. + // For non Container-Optimized Image cases, following + // https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py. InstallGpuDrivers bool `json:"installGpuDrivers,omitempty"` // InstanceTemplate: Name of an instance template used to create VMs. @@ -1921,10 +1931,9 @@ func (s *NFS) MarshalJSON() ([]byte, error) { type NetworkInterface struct { // Network: The URL of an existing network resource. You can specify the // network as a full or partial URL. For example, the following are all - // valid URLs: * - // https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} - // * projects/{project}/global/networks/{network} * - // global/networks/{network} + // valid URLs: + // https://www.googleapis.com/compute/v1/projects/project/global/networks/network + // projects/project/global/networks/network global/networks/network Network string `json:"network,omitempty"` // NoExternalIpAddress: Default is false (with an external IP address). @@ -1938,10 +1947,10 @@ type NetworkInterface struct { // Subnetwork: The URL of an existing subnetwork resource in the // network. You can specify the subnetwork as a full or partial URL. For - // example, the following are all valid URLs: * - // https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} - // * projects/{project}/regions/{region}/subnetworks/{subnetwork} * - // regions/{region}/subnetworks/{subnetwork} + // example, the following are all valid URLs: + // https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork + // projects/project/regions/region/subnetworks/subnetwork + // regions/region/subnetworks/subnetwork Subnetwork string `json:"subnetwork,omitempty"` // ForceSendFields is a list of field names (e.g. "Network") to @@ -3684,6 +3693,14 @@ func (c *ProjectsLocationsJobsListCall) Filter(filter string) *ProjectsLocations return c } +// OrderBy sets the optional parameter "orderBy": Sort results. +// Supported are "name", "name desc", "create_time", and "create_time +// desc". +func (c *ProjectsLocationsJobsListCall) OrderBy(orderBy string) *ProjectsLocationsJobsListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": Page size. func (c *ProjectsLocationsJobsListCall) PageSize(pageSize int64) *ProjectsLocationsJobsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) @@ -3808,6 +3825,11 @@ func (c *ProjectsLocationsJobsListCall) Do(opts ...googleapi.CallOption) (*ListJ // "location": "query", // "type": "string" // }, + // "orderBy": { + // "description": "Optional. Sort results. Supported are \"name\", \"name desc\", \"create_time\", and \"create_time desc\".", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "Page size.", // "format": "int32", diff --git a/container/v1/container-api.json b/container/v1/container-api.json index 02ea8820f4e..94351fb29f9 100644 --- a/container/v1/container-api.json +++ b/container/v1/container-api.json @@ -2540,7 +2540,7 @@ } } }, - "revision": "20230626", + "revision": "20230629", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2571,6 +2571,40 @@ }, "type": "object" }, + "AdditionalNodeNetworkConfig": { + "description": "AdditionalNodeNetworkConfig is the configuration for additional node networks within the NodeNetworkConfig message", + "id": "AdditionalNodeNetworkConfig", + "properties": { + "network": { + "description": "Name of the VPC where the additional interface belongs", + "type": "string" + }, + "subnetwork": { + "description": "Name of the subnetwork where the additional interface belongs", + "type": "string" + } + }, + "type": "object" + }, + "AdditionalPodNetworkConfig": { + "description": "AdditionalPodNetworkConfig is the configuration for additional pod networks within the NodeNetworkConfig message", + "id": "AdditionalPodNetworkConfig", + "properties": { + "maxPodsPerNode": { + "$ref": "MaxPodsConstraint", + "description": "The maximum number of pods per node which use this pod network" + }, + "secondaryPodRange": { + "description": "The name of the secondary range on the subnet which provides IP address for this pod range", + "type": "string" + }, + "subnetwork": { + "description": "Name of the subnetwork where the additional pod network belongs", + "type": "string" + } + }, + "type": "object" + }, "AdditionalPodRangesConfig": { "description": "AdditionalPodRangesConfig is the configuration for additional pod secondary ranges supporting the ClusterUpdate message.", "id": "AdditionalPodRangesConfig", @@ -4845,6 +4879,10 @@ "description": "Whether L4ILB Subsetting is enabled for this cluster.", "type": "boolean" }, + "enableMultiNetworking": { + "description": "Whether multi-networking is enabled for this cluster.", + "type": "boolean" + }, "gatewayApiConfig": { "$ref": "GatewayAPIConfig", "description": "GatewayAPIConfig contains the desired config of Gateway API on this cluster." @@ -5229,6 +5267,20 @@ "description": "Parameters for node pool-level network config.", "id": "NodeNetworkConfig", "properties": { + "additionalNodeNetworkConfigs": { + "description": "We specify the additional node networks for this node pool using this list. Each node network corresponds to an additional interface", + "items": { + "$ref": "AdditionalNodeNetworkConfig" + }, + "type": "array" + }, + "additionalPodNetworkConfigs": { + "description": "We specify the additional pod networks for this node pool using this list. Each pod network corresponds to an additional alias IP range for the node", + "items": { + "$ref": "AdditionalPodNetworkConfig" + }, + "type": "array" + }, "createPodRange": { "description": "Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.", "type": "boolean" @@ -5693,6 +5745,10 @@ "description": "PlacementPolicy defines the placement policy used by the node pool.", "id": "PlacementPolicy", "properties": { + "policyName": { + "description": "If set, refers to the name of a custom resource policy supplied by the user. The resource policy must be in the same project and region as the node pool. If not found, InvalidArgument error is returned.", + "type": "string" + }, "type": { "description": "The type of placement.", "enum": [ diff --git a/container/v1/container-gen.go b/container/v1/container-gen.go index a6c9b20c87f..a561fd62c47 100644 --- a/container/v1/container-gen.go +++ b/container/v1/container-gen.go @@ -327,6 +327,80 @@ func (s *AcceleratorConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// AdditionalNodeNetworkConfig: AdditionalNodeNetworkConfig is the +// configuration for additional node networks within the +// NodeNetworkConfig message +type AdditionalNodeNetworkConfig struct { + // Network: Name of the VPC where the additional interface belongs + Network string `json:"network,omitempty"` + + // Subnetwork: Name of the subnetwork where the additional interface + // belongs + Subnetwork string `json:"subnetwork,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Network") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Network") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *AdditionalNodeNetworkConfig) MarshalJSON() ([]byte, error) { + type NoMethod AdditionalNodeNetworkConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// AdditionalPodNetworkConfig: AdditionalPodNetworkConfig is the +// configuration for additional pod networks within the +// NodeNetworkConfig message +type AdditionalPodNetworkConfig struct { + // MaxPodsPerNode: The maximum number of pods per node which use this + // pod network + MaxPodsPerNode *MaxPodsConstraint `json:"maxPodsPerNode,omitempty"` + + // SecondaryPodRange: The name of the secondary range on the subnet + // which provides IP address for this pod range + SecondaryPodRange string `json:"secondaryPodRange,omitempty"` + + // Subnetwork: Name of the subnetwork where the additional pod network + // belongs + Subnetwork string `json:"subnetwork,omitempty"` + + // ForceSendFields is a list of field names (e.g. "MaxPodsPerNode") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "MaxPodsPerNode") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *AdditionalPodNetworkConfig) MarshalJSON() ([]byte, error) { + type NoMethod AdditionalPodNetworkConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // AdditionalPodRangesConfig: AdditionalPodRangesConfig is the // configuration for additional pod secondary ranges supporting the // ClusterUpdate message. @@ -4196,6 +4270,10 @@ type NetworkConfig struct { // cluster. EnableL4ilbSubsetting bool `json:"enableL4ilbSubsetting,omitempty"` + // EnableMultiNetworking: Whether multi-networking is enabled for this + // cluster. + EnableMultiNetworking bool `json:"enableMultiNetworking,omitempty"` + // GatewayApiConfig: GatewayAPIConfig contains the desired config of // Gateway API on this cluster. GatewayApiConfig *GatewayAPIConfig `json:"gatewayApiConfig,omitempty"` @@ -4808,6 +4886,16 @@ func (s *NodeManagement) MarshalJSON() ([]byte, error) { // NodeNetworkConfig: Parameters for node pool-level network config. type NodeNetworkConfig struct { + // AdditionalNodeNetworkConfigs: We specify the additional node networks + // for this node pool using this list. Each node network corresponds to + // an additional interface + AdditionalNodeNetworkConfigs []*AdditionalNodeNetworkConfig `json:"additionalNodeNetworkConfigs,omitempty"` + + // AdditionalPodNetworkConfigs: We specify the additional pod networks + // for this node pool using this list. Each pod network corresponds to + // an additional alias IP range for the node + AdditionalPodNetworkConfigs []*AdditionalPodNetworkConfig `json:"additionalPodNetworkConfigs,omitempty"` + // CreatePodRange: Input only. Whether to create a new range for pod IPs // in this node pool. Defaults are provided for `pod_range` and // `pod_ipv4_cidr_block` if they are not specified. If neither @@ -4859,21 +4947,22 @@ type NodeNetworkConfig struct { // created. PodRange string `json:"podRange,omitempty"` - // ForceSendFields is a list of field names (e.g. "CreatePodRange") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. + // "AdditionalNodeNetworkConfigs") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreatePodRange") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. + // "AdditionalNodeNetworkConfigs") to include in API requests with the + // JSON null value. By default, fields with empty values are omitted + // from API requests. However, any field with an empty value appearing + // in NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } @@ -5537,6 +5626,12 @@ func (s *OperationProgress) MarshalJSON() ([]byte, error) { // PlacementPolicy: PlacementPolicy defines the placement policy used by // the node pool. type PlacementPolicy struct { + // PolicyName: If set, refers to the name of a custom resource policy + // supplied by the user. The resource policy must be in the same project + // and region as the node pool. If not found, InvalidArgument error is + // returned. + PolicyName string `json:"policyName,omitempty"` + // Type: The type of placement. // // Possible values: @@ -5546,7 +5641,7 @@ type PlacementPolicy struct { // availability domain to ensure low communication latency. Type string `json:"type,omitempty"` - // ForceSendFields is a list of field names (e.g. "Type") to + // ForceSendFields is a list of field names (e.g. "PolicyName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -5554,8 +5649,8 @@ type PlacementPolicy struct { // This may be used to include empty fields in Patch requests. 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 + // NullFields is a list of field names (e.g. "PolicyName") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. diff --git a/datacatalog/v1/datacatalog-api.json b/datacatalog/v1/datacatalog-api.json index 033d8b10616..72b9c869805 100644 --- a/datacatalog/v1/datacatalog-api.json +++ b/datacatalog/v1/datacatalog-api.json @@ -2144,7 +2144,7 @@ } } }, - "revision": "20230619", + "revision": "20230707", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -3740,6 +3740,7 @@ "type": "array" }, "includePublicTagTemplates": { + "deprecated": true, "description": "Optional. This field is deprecated. The search mechanism for public and private tag templates is the same.", "type": "boolean" }, diff --git a/dialogflow/v2/dialogflow-api.json b/dialogflow/v2/dialogflow-api.json index 61715e77fed..27bda716519 100644 --- a/dialogflow/v2/dialogflow-api.json +++ b/dialogflow/v2/dialogflow-api.json @@ -1230,7 +1230,7 @@ ], "parameters": { "name": { - "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "location": "path", "pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", "required": true, @@ -2256,7 +2256,7 @@ ], "parameters": { "name": { - "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "location": "path", "pattern": "^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", "required": true, @@ -3284,7 +3284,7 @@ ], "parameters": { "conversationId": { - "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", + "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula \"a-zA-Z*\" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", "location": "query", "type": "string" }, @@ -5320,7 +5320,7 @@ ], "parameters": { "name": { - "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", "required": true, @@ -5986,7 +5986,7 @@ ], "parameters": { "name": { - "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", "required": true, @@ -7098,7 +7098,7 @@ ], "parameters": { "conversationId": { - "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", + "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula \"a-zA-Z*\" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", "location": "query", "type": "string" }, @@ -8211,7 +8211,7 @@ } } }, - "revision": "20230711", + "revision": "20230714", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -8615,7 +8615,7 @@ "type": "string" }, "commitSha": { - "description": "Commit SHA of the git push. This field is populated if `git_destination` is specified in ExportAgentRequest.", + "description": "Commit SHA of the git push. This field is populated if `git_destination` are specified in ExportAgentRequest.", "type": "string" } }, @@ -9308,22 +9308,6 @@ "$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", "description": "Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct mixed_audio. However, Dialogflow itself does not try to read or process the URI in any way." }, - "responseType": { - "description": "Response type.", - "enum": [ - "RESPONSE_TYPE_UNSPECIFIED", - "ENTRY_PROMPT", - "PARAMETER_PROMPT", - "HANDLER_PROMPT" - ], - "enumDescriptions": [ - "Not specified.", - "The response is from an entry prompt in the page.", - "The response is from form-filling prompt in the page.", - "The response is from a transition route or an event handler in the page or flow or transition route group." - ], - "type": "string" - }, "telephonyTransferCall": { "$ref": "GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall", "description": "A signal that the client should transfer the phone call connected to this agent to a third-party endpoint." @@ -10563,7 +10547,7 @@ "type": "string" }, "commitSha": { - "description": "Commit SHA of the git push. This field is populated if `git_destination` is specified in ExportAgentRequest.", + "description": "Commit SHA of the git push. This field is populated if `git_destination` are specified in ExportAgentRequest.", "type": "string" } }, @@ -12848,7 +12832,7 @@ "type": "integer" }, "name": { - "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "type": "string" }, "parameters": { @@ -12856,7 +12840,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" } }, @@ -13768,7 +13752,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" } }, @@ -13951,7 +13935,7 @@ "id": "GoogleCloudDialogflowV2GcsDestination", "properties": { "uri": { - "description": "The Google Cloud Storage URIs for the output. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", + "description": "The Google Cloud Storage URIs for the output. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", "type": "string" } }, @@ -13962,7 +13946,7 @@ "id": "GoogleCloudDialogflowV2GcsSources", "properties": { "uris": { - "description": "Required. Google Cloud Storage URIs for the inputs. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case.", + "description": "Required. Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case.", "items": { "type": "string" }, @@ -14542,7 +14526,7 @@ }, "phraseHints": { "deprecated": true, - "description": "A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details. This field is deprecated. Please use [`speech_contexts`]() instead. If you specify both [`phrase_hints`]() and [`speech_contexts`](), Dialogflow will treat the [`phrase_hints`]() as a single additional [`SpeechContext`]().", + "description": "A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details. This field is deprecated. Please use [speech_contexts]() instead. If you specify both [phrase_hints]() and [speech_contexts](), Dialogflow will treat the [phrase_hints]() as a single additional [SpeechContext]().", "items": { "type": "string" }, @@ -16221,7 +16205,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" }, "queryText": { @@ -16851,7 +16835,7 @@ "type": "object" }, "GoogleCloudDialogflowV2TextInput": { - "description": "Auxiliary proto messages. Represents the natural language text to be processed.", + "description": "============================================================================ Auxiliary proto messages. Represents the natural language text to be processed.", "id": "GoogleCloudDialogflowV2TextInput", "properties": { "languageCode": { @@ -16941,7 +16925,7 @@ "id": "GoogleCloudDialogflowV2ValidationError", "properties": { "entries": { - "description": "The names of the entries that the error is associated with. Format: - `projects//agent`, if the error is associated with the entire agent. - `projects//agent/intents/`, if the error is associated with certain intents. - `projects//agent/intents//trainingPhrases/`, if the error is associated with certain intent training phrases. - `projects//agent/intents//parameters/`, if the error is associated with certain intent parameters. - `projects//agent/entities/`, if the error is associated with certain entities.", + "description": "The names of the entries that the error is associated with. Format: - \"projects//agent\", if the error is associated with the entire agent. - \"projects//agent/intents/\", if the error is associated with certain intents. - \"projects//agent/intents//trainingPhrases/\", if the error is associated with certain intent training phrases. - \"projects//agent/intents//parameters/\", if the error is associated with certain intent parameters. - \"projects//agent/entities/\", if the error is associated with certain entities.", "items": { "type": "string" }, @@ -17271,7 +17255,7 @@ "type": "integer" }, "name": { - "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "type": "string" }, "parameters": { @@ -17279,7 +17263,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" } }, @@ -17432,7 +17416,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" } }, @@ -17505,7 +17489,7 @@ "id": "GoogleCloudDialogflowV2beta1GcsDestination", "properties": { "uri": { - "description": "Required. The Google Cloud Storage URIs for the output. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", + "description": "Required. The Google Cloud Storage URIs for the output. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", "type": "string" } }, @@ -19031,7 +19015,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" }, "queryText": { diff --git a/dialogflow/v2/dialogflow-gen.go b/dialogflow/v2/dialogflow-gen.go index 7f8bbce7cd6..4c250582310 100644 --- a/dialogflow/v2/dialogflow-gen.go +++ b/dialogflow/v2/dialogflow-gen.go @@ -1613,7 +1613,7 @@ type GoogleCloudDialogflowCxV3ExportAgentResponse struct { AgentUri string `json:"agentUri,omitempty"` // CommitSha: Commit SHA of the git push. This field is populated if - // `git_destination` is specified in ExportAgentRequest. + // `git_destination` are specified in ExportAgentRequest. CommitSha string `json:"commitSha,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to @@ -2968,17 +2968,6 @@ type GoogleCloudDialogflowCxV3ResponseMessage struct { // any way. PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"` - // ResponseType: Response type. - // - // Possible values: - // "RESPONSE_TYPE_UNSPECIFIED" - Not specified. - // "ENTRY_PROMPT" - The response is from an entry prompt in the page. - // "PARAMETER_PROMPT" - The response is from form-filling prompt in - // the page. - // "HANDLER_PROMPT" - The response is from a transition route or an - // event handler in the page or flow or transition route group. - ResponseType string `json:"responseType,omitempty"` - // TelephonyTransferCall: A signal that the client should transfer the // phone call connected to this agent to a third-party endpoint. TelephonyTransferCall *GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"` @@ -5201,7 +5190,7 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { AgentUri string `json:"agentUri,omitempty"` // CommitSha: Commit SHA of the git push. This field is populated if - // `git_destination` is specified in ExportAgentRequest. + // `git_destination` are specified in ExportAgentRequest. CommitSha string `json:"commitSha,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to @@ -9304,7 +9293,7 @@ type GoogleCloudDialogflowV2Context struct { // `projects//agent/sessions//contexts/`, or // `projects//agent/environments//users//sessions//contexts/`. The // `Context ID` is always converted to lowercase, may only contain - // characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If + // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -9316,14 +9305,13 @@ type GoogleCloudDialogflowV2Context struct { // Parameters: Optional. The collection of parameters associated with // this context. Depending on your protocol or client library language, // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: * MapKey - // type: string * MapKey value: parameter name * MapValue type: If - // parameter's entity type is a composite entity then use map, - // otherwise, depending on the parameter value type, it could be one of - // string, number, boolean, null, list or map. * MapValue value: If - // parameter's entity type is a composite entity then use map from - // composite entity property names to property values, otherwise, use - // parameter value. + // object composed of a collection of (MapKey, MapValue) pairs: - MapKey + // type: string - MapKey value: parameter name - MapValue type: - If + // parameter's entity type is a composite entity: map - Else: depending + // on parameter value type, could be one of string, number, boolean, + // null, list or map - MapValue value: - If parameter's entity type is a + // composite entity: map from composite entity property names to + // property values - Else: parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -10830,13 +10818,13 @@ type GoogleCloudDialogflowV2EventInput struct { // Parameters: The collection of parameters associated with the event. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: * MapKey type: string * - // MapKey value: parameter name * MapValue type: If parameter's entity - // type is a composite entity then use map, otherwise, depending on the - // parameter value type, it could be one of string, number, boolean, - // null, list or map. * MapValue value: If parameter's entity type is a - // composite entity then use map from composite entity property names to - // property values, otherwise, use parameter value. + // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: depending on parameter value + // type, could be one of string, number, boolean, null, list or map - + // MapValue value: - If parameter's entity type is a composite entity: + // map from composite entity property names to property values - Else: + // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to @@ -11211,7 +11199,7 @@ func (s *GoogleCloudDialogflowV2FulfillmentGenericWebService) MarshalJSON() ([]b // for the output. type GoogleCloudDialogflowV2GcsDestination struct { // Uri: The Google Cloud Storage URIs for the output. A URI is of the - // form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is + // form: gs://bucket/object-prefix-or-name Whether a prefix or name is // used depends on the use case. The requesting user must have // "write-permission" to the bucket. Uri string `json:"uri,omitempty"` @@ -11243,8 +11231,8 @@ func (s *GoogleCloudDialogflowV2GcsDestination) MarshalJSON() ([]byte, error) { // the inputs. type GoogleCloudDialogflowV2GcsSources struct { // Uris: Required. Google Cloud Storage URIs for the inputs. A URI is of - // the form: `gs://bucket/object-prefix-or-name` Whether a prefix or - // name is used depends on the use case. + // the form: gs://bucket/object-prefix-or-name Whether a prefix or name + // is used depends on the use case. Uris []string `json:"uris,omitempty"` // ForceSendFields is a list of field names (e.g. "Uris") to @@ -12469,9 +12457,9 @@ type GoogleCloudDialogflowV2InputAudioConfig struct { // Cloud Speech documentation // (https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) // for more details. This field is deprecated. Please use - // `speech_contexts` () instead. If you specify both `phrase_hints` () - // and `speech_contexts` (), Dialogflow will treat the `phrase_hints` () - // as a single additional `SpeechContext` (). + // speech_contexts () instead. If you specify both phrase_hints () and + // speech_contexts (), Dialogflow will treat the phrase_hints () as a + // single additional SpeechContext (). PhraseHints []string `json:"phraseHints,omitempty"` // SampleRateHertz: Required. Sample rate (in Hertz) of the audio @@ -15320,13 +15308,13 @@ type GoogleCloudDialogflowV2QueryResult struct { // Parameters: The collection of extracted parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: * MapKey type: string * - // MapKey value: parameter name * MapValue type: If parameter's entity - // type is a composite entity then use map, otherwise, depending on the - // parameter value type, it could be one of string, number, boolean, - // null, list or map. * MapValue value: If parameter's entity type is a - // composite entity then use map from composite entity property names to - // property values, otherwise, use parameter value. + // collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: depending on parameter value + // type, could be one of string, number, boolean, null, list or map - + // MapValue value: - If parameter's entity type is a composite entity: + // map from composite entity property names to property values - Else: + // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // QueryText: The original conversational query text: - If natural @@ -16671,8 +16659,10 @@ func (s *GoogleCloudDialogflowV2SynthesizeSpeechConfig) UnmarshalJSON(data []byt return nil } -// GoogleCloudDialogflowV2TextInput: Auxiliary proto messages. -// Represents the natural language text to be processed. +// GoogleCloudDialogflowV2TextInput: +// ====================================================================== +// ====== Auxiliary proto messages. Represents the natural language text +// to be processed. type GoogleCloudDialogflowV2TextInput struct { // LanguageCode: Required. The language of this conversational query. // See Language Support @@ -16825,13 +16815,13 @@ type GoogleCloudDialogflowV2UndeployConversationModelRequest struct { // validation error. type GoogleCloudDialogflowV2ValidationError struct { // Entries: The names of the entries that the error is associated with. - // Format: - `projects//agent`, if the error is associated with the - // entire agent. - `projects//agent/intents/`, if the error is + // Format: - "projects//agent", if the error is associated with the + // entire agent. - "projects//agent/intents/", if the error is // associated with certain intents. - - // `projects//agent/intents//trainingPhrases/`, if the error is + // "projects//agent/intents//trainingPhrases/", if the error is // associated with certain intent training phrases. - - // `projects//agent/intents//parameters/`, if the error is associated - // with certain intent parameters. - `projects//agent/entities/`, if the + // "projects//agent/intents//parameters/", if the error is associated + // with certain intent parameters. - "projects//agent/entities/", if the // error is associated with certain entities. Entries []string `json:"entries,omitempty"` @@ -17387,7 +17377,7 @@ type GoogleCloudDialogflowV2beta1Context struct { // `projects//agent/environments//users//sessions//contexts/`, - // `projects//locations//agent/environments//users//sessions//contexts/`, // The `Context ID` is always converted to lowercase, may only contain - // characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If + // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -17399,14 +17389,13 @@ type GoogleCloudDialogflowV2beta1Context struct { // Parameters: Optional. The collection of parameters associated with // this context. Depending on your protocol or client library language, // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: * MapKey - // type: string * MapKey value: parameter name * MapValue type: If - // parameter's entity type is a composite entity then use map, - // otherwise, depending on the parameter value type, it could be one of - // string, number, boolean, null, list or map. * MapValue value: If - // parameter's entity type is a composite entity then use map from - // composite entity property names to property values, otherwise, use - // parameter value. + // object composed of a collection of (MapKey, MapValue) pairs: - MapKey + // type: string - MapKey value: parameter name - MapValue type: - If + // parameter's entity type is a composite entity: map - Else: depending + // on parameter value type, could be one of string, number, boolean, + // null, list or map - MapValue value: - If parameter's entity type is a + // composite entity: map from composite entity property names to + // property values - Else: parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LifespanCount") to @@ -17668,13 +17657,13 @@ type GoogleCloudDialogflowV2beta1EventInput struct { // Parameters: The collection of parameters associated with the event. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: * MapKey type: string * - // MapKey value: parameter name * MapValue type: If parameter's entity - // type is a composite entity then use map, otherwise, depending on the - // parameter value type, it could be one of string, number, boolean, - // null, list or map. * MapValue value: If parameter's entity type is a - // composite entity then use map from composite entity property names to - // property values, otherwise, use parameter value. + // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: depending on parameter value + // type, could be one of string, number, boolean, null, list or map - + // MapValue value: - If parameter's entity type is a composite entity: + // map from composite entity property names to property values - Else: + // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to @@ -17833,7 +17822,7 @@ func (s *GoogleCloudDialogflowV2beta1FaqAnswer) UnmarshalJSON(data []byte) error // location for the output. type GoogleCloudDialogflowV2beta1GcsDestination struct { // Uri: Required. The Google Cloud Storage URIs for the output. A URI is - // of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or + // of the form: gs://bucket/object-prefix-or-name Whether a prefix or // name is used depends on the use case. The requesting user must have // "write-permission" to the bucket. Uri string `json:"uri,omitempty"` @@ -20307,13 +20296,13 @@ type GoogleCloudDialogflowV2beta1QueryResult struct { // Parameters: The collection of extracted parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: * MapKey type: string * - // MapKey value: parameter name * MapValue type: If parameter's entity - // type is a composite entity then use map, otherwise, depending on the - // parameter value type, it could be one of string, number, boolean, - // null, list or map. * MapValue value: If parameter's entity type is a - // composite entity then use map from composite entity property names to - // property values, otherwise, use parameter value. + // collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: depending on parameter value + // type, could be one of string, number, boolean, null, list or map - + // MapValue value: - If parameter's entity type is a composite entity: + // map from composite entity property names to property values - Else: + // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // QueryText: The original conversational query text: - If natural @@ -27253,7 +27242,7 @@ type ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall struct { // `projects//agent/sessions//contexts/`, or // `projects//agent/environments//users//sessions//contexts/`. The // `Context ID` is always converted to lowercase, may only contain -// characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If +// characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -27374,7 +27363,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Do(opts ...goo // ], // "parameters": { // "name": { - // "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + // "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", // "location": "path", // "pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", // "required": true, @@ -32243,7 +32232,7 @@ type ProjectsAgentSessionsContextsPatchCall struct { // `projects//agent/sessions//contexts/`, or // `projects//agent/environments//users//sessions//contexts/`. The // `Context ID` is always converted to lowercase, may only contain -// characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If +// characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -32364,7 +32353,7 @@ func (c *ProjectsAgentSessionsContextsPatchCall) Do(opts ...googleapi.CallOption // ], // "parameters": { // "name": { - // "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + // "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", // "location": "path", // "pattern": "^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", // "required": true, @@ -37438,7 +37427,7 @@ func (r *ProjectsConversationsService) Create(parentid string, googleclouddialog // Identifier of the conversation. Generally it's auto generated by // Google. Only set it if you cannot wait for the response to return a // auto-generated one to you. The conversation ID must be compliant with -// the regression fomula `a-zA-Z*` with the characters length in range +// the regression fomula "a-zA-Z*" with the characters length in range // of [3,64]. If the field is provided, the caller is resposible for 1. // the uniqueness of the ID, otherwise the request will be rejected. 2. // the consistency for whether to use custom ID or not under a project @@ -37549,7 +37538,7 @@ func (c *ProjectsConversationsCreateCall) Do(opts ...googleapi.CallOption) (*Goo // ], // "parameters": { // "conversationId": { - // "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", + // "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula \"a-zA-Z*\" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", // "location": "query", // "type": "string" // }, @@ -47599,7 +47588,7 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall struct { // `projects//agent/sessions//contexts/`, or // `projects//agent/environments//users//sessions//contexts/`. The // `Context ID` is always converted to lowercase, may only contain -// characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If +// characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -47720,7 +47709,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) Do(op // ], // "parameters": { // "name": { - // "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + // "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", // "required": true, @@ -50795,7 +50784,7 @@ type ProjectsLocationsAgentSessionsContextsPatchCall struct { // `projects//agent/sessions//contexts/`, or // `projects//agent/environments//users//sessions//contexts/`. The // `Context ID` is always converted to lowercase, may only contain -// characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If +// characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -50916,7 +50905,7 @@ func (c *ProjectsLocationsAgentSessionsContextsPatchCall) Do(opts ...googleapi.C // ], // "parameters": { // "name": { - // "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + // "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", // "required": true, @@ -56423,7 +56412,7 @@ func (r *ProjectsLocationsConversationsService) Create(parentid string, googlecl // Identifier of the conversation. Generally it's auto generated by // Google. Only set it if you cannot wait for the response to return a // auto-generated one to you. The conversation ID must be compliant with -// the regression fomula `a-zA-Z*` with the characters length in range +// the regression fomula "a-zA-Z*" with the characters length in range // of [3,64]. If the field is provided, the caller is resposible for 1. // the uniqueness of the ID, otherwise the request will be rejected. 2. // the consistency for whether to use custom ID or not under a project @@ -56534,7 +56523,7 @@ func (c *ProjectsLocationsConversationsCreateCall) Do(opts ...googleapi.CallOpti // ], // "parameters": { // "conversationId": { - // "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", + // "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula \"a-zA-Z*\" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", // "location": "query", // "type": "string" // }, diff --git a/dialogflow/v2beta1/dialogflow-api.json b/dialogflow/v2beta1/dialogflow-api.json index cc0036c29ba..36d55204dfe 100644 --- a/dialogflow/v2beta1/dialogflow-api.json +++ b/dialogflow/v2beta1/dialogflow-api.json @@ -1230,7 +1230,7 @@ ], "parameters": { "name": { - "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "location": "path", "pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", "required": true, @@ -2261,7 +2261,7 @@ ], "parameters": { "name": { - "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "location": "path", "pattern": "^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", "required": true, @@ -2971,7 +2971,7 @@ ], "parameters": { "conversationId": { - "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", + "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula \"a-zA-Z*\" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", "location": "query", "type": "string" }, @@ -5085,7 +5085,7 @@ ], "parameters": { "name": { - "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", "required": true, @@ -5751,7 +5751,7 @@ ], "parameters": { "name": { - "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", "required": true, @@ -6461,7 +6461,7 @@ ], "parameters": { "conversationId": { - "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", + "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula \"a-zA-Z*\" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", "location": "query", "type": "string" }, @@ -7579,7 +7579,7 @@ } } }, - "revision": "20230711", + "revision": "20230714", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -7983,7 +7983,7 @@ "type": "string" }, "commitSha": { - "description": "Commit SHA of the git push. This field is populated if `git_destination` is specified in ExportAgentRequest.", + "description": "Commit SHA of the git push. This field is populated if `git_destination` are specified in ExportAgentRequest.", "type": "string" } }, @@ -8676,22 +8676,6 @@ "$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", "description": "Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct mixed_audio. However, Dialogflow itself does not try to read or process the URI in any way." }, - "responseType": { - "description": "Response type.", - "enum": [ - "RESPONSE_TYPE_UNSPECIFIED", - "ENTRY_PROMPT", - "PARAMETER_PROMPT", - "HANDLER_PROMPT" - ], - "enumDescriptions": [ - "Not specified.", - "The response is from an entry prompt in the page.", - "The response is from form-filling prompt in the page.", - "The response is from a transition route or an event handler in the page or flow or transition route group." - ], - "type": "string" - }, "telephonyTransferCall": { "$ref": "GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall", "description": "A signal that the client should transfer the phone call connected to this agent to a third-party endpoint." @@ -9931,7 +9915,7 @@ "type": "string" }, "commitSha": { - "description": "Commit SHA of the git push. This field is populated if `git_destination` is specified in ExportAgentRequest.", + "description": "Commit SHA of the git push. This field is populated if `git_destination` are specified in ExportAgentRequest.", "type": "string" } }, @@ -11626,7 +11610,7 @@ "type": "integer" }, "name": { - "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "type": "string" }, "parameters": { @@ -11634,7 +11618,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" } }, @@ -11962,7 +11946,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" } }, @@ -12035,7 +12019,7 @@ "id": "GoogleCloudDialogflowV2GcsDestination", "properties": { "uri": { - "description": "The Google Cloud Storage URIs for the output. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", + "description": "The Google Cloud Storage URIs for the output. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", "type": "string" } }, @@ -13237,7 +13221,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" }, "queryText": { @@ -13822,7 +13806,7 @@ "description": "An input event to send to Dialogflow." }, "messageSendTime": { - "description": "Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant. Given two messages under the same participant: * If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant. * If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later. If the value is not provided, a new request will always be regarded as a new message without any de-duplication.", + "description": "Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant. Given two messages under the same participant: - If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant. - If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later. If the value is not provided, a new request will always be regarded as a new message without any de-duplication.", "format": "google-datetime", "type": "string" }, @@ -14123,7 +14107,7 @@ "type": "object" }, "GoogleCloudDialogflowV2beta1BargeInConfig": { - "description": "Configuration of the barge-in behavior. Barge-in instructs the API to return a detected utterance at a proper time while the client is playing back the response audio from a previous request. When the client sees the utterance, it should stop the playback and immediately get ready for receiving the responses for the current request. The barge-in handling requires the client to start streaming audio input as soon as it starts playing back the audio from the previous response. The playback is modeled into two phases: * No barge-in phase: which goes first and during which speech detection should not be carried out. * Barge-in phase: which follows the no barge-in phase and during which the API starts speech detection and may inform the client that an utterance has been detected. Note that no-speech event is not expected in this phase. The client provides this configuration in terms of the durations of those two phases. The durations are measured in terms of the audio length fromt the the start of the input audio. The flow goes like below: ``` --\u003e Time without speech detection | utterance only | utterance or no-speech event | | +-------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-+ barge-in +-|-+ normal period +----------- +-------------+ | +------------+ | +---------------+ ``` No-speech event is a response with END_OF_UTTERANCE without any transcript following up.", + "description": "Configuration of the barge-in behavior. Barge-in instructs the API to return a detected utterance at a proper time while the client is playing back the response audio from a previous request. When the client sees the utterance, it should stop the playback and immediately get ready for receiving the responses for the current request. The barge-in handling requires the client to start streaming audio input as soon as it starts playing back the audio from the previous response. The playback is modeled into two phases: * No barge-in phase: which goes first and during which speech detection should not be carried out. * Barge-in phase: which follows the no barge-in phase and during which the API starts speech detection and may inform the client that an utterance has been detected. Note that no-speech event is not expected in this phase. The client provides this configuration in terms of the durations of those two phases. The durations are measured in terms of the audio length fromt the the start of the input audio. The flow goes like below: --\u003e Time without speech detection | utterance only | utterance or no-speech event | | +-------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-+ barge-in +-|-+ normal period +----------- +-------------+ | +------------+ | +---------------+ No-speech event is a response with END_OF_UTTERANCE without any transcript following up.", "id": "GoogleCloudDialogflowV2beta1BargeInConfig", "properties": { "noBargeInDuration": { @@ -14491,7 +14475,7 @@ "type": "integer" }, "name": { - "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "type": "string" }, "parameters": { @@ -14499,7 +14483,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" } }, @@ -15106,7 +15090,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" } }, @@ -15270,7 +15254,7 @@ "id": "GoogleCloudDialogflowV2beta1GcsDestination", "properties": { "uri": { - "description": "Required. The Google Cloud Storage URIs for the output. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", + "description": "Required. The Google Cloud Storage URIs for the output. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", "type": "string" } }, @@ -15281,7 +15265,7 @@ "id": "GoogleCloudDialogflowV2beta1GcsSource", "properties": { "uri": { - "description": "Required. The Google Cloud Storage URIs for the inputs. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case.", + "description": "Required. The Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case.", "type": "string" } }, @@ -15292,7 +15276,7 @@ "id": "GoogleCloudDialogflowV2beta1GcsSources", "properties": { "uris": { - "description": "Required. Google Cloud Storage URIs for the inputs. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case.", + "description": "Required. Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case.", "items": { "type": "string" }, @@ -15843,7 +15827,7 @@ }, "phraseHints": { "deprecated": true, - "description": "A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details. This field is deprecated. Please use [`speech_contexts`]() instead. If you specify both [`phrase_hints`]() and [`speech_contexts`](), Dialogflow will treat the [`phrase_hints`]() as a single additional [`SpeechContext`]().", + "description": "A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details. This field is deprecated. Please use [speech_contexts]() instead. If you specify both [phrase_hints]() and [speech_contexts](), Dialogflow will treat the [phrase_hints]() as a single additional [SpeechContext]().", "items": { "type": "string" }, @@ -17868,7 +17852,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" }, "queryText": { @@ -18659,7 +18643,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "In Dialogflow assist for v3, the user can submit a form by sending a SuggestionInput. The form is uniquely determined by the answer_record field, which identifies a v3 QueryResult containing the current page. The form parameters are specified via the parameters field. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "In Dialogflow assist for v3, the user can submit a form by sending a SuggestionInput. The form is uniquely determined by the answer_record field, which identifies a v3 QueryResult containing the current page. The form parameters are specified via the parameters field. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" }, "textOverride": { @@ -18854,7 +18838,7 @@ "id": "GoogleCloudDialogflowV2beta1ValidationError", "properties": { "entries": { - "description": "The names of the entries that the error is associated with. Format: - `projects//agent`, if the error is associated with the entire agent. - `projects//agent/intents/`, if the error is associated with certain intents. - `projects//agent/intents//trainingPhrases/`, if the error is associated with certain intent training phrases. - `projects//agent/intents//parameters/`, if the error is associated with certain intent parameters. - `projects//agent/entities/`, if the error is associated with certain entities.", + "description": "The names of the entries that the error is associated with. Format: - \"projects//agent\", if the error is associated with the entire agent. - \"projects//agent/intents/\", if the error is associated with certain intents. - \"projects//agent/intents//trainingPhrases/\", if the error is associated with certain intent training phrases. - \"projects//agent/intents//parameters/\", if the error is associated with certain intent parameters. - \"projects//agent/entities/\", if the error is associated with certain entities.", "items": { "type": "string" }, diff --git a/dialogflow/v2beta1/dialogflow-gen.go b/dialogflow/v2beta1/dialogflow-gen.go index d3c75f41ed0..728e66a185d 100644 --- a/dialogflow/v2beta1/dialogflow-gen.go +++ b/dialogflow/v2beta1/dialogflow-gen.go @@ -1541,7 +1541,7 @@ type GoogleCloudDialogflowCxV3ExportAgentResponse struct { AgentUri string `json:"agentUri,omitempty"` // CommitSha: Commit SHA of the git push. This field is populated if - // `git_destination` is specified in ExportAgentRequest. + // `git_destination` are specified in ExportAgentRequest. CommitSha string `json:"commitSha,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to @@ -2896,17 +2896,6 @@ type GoogleCloudDialogflowCxV3ResponseMessage struct { // any way. PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"` - // ResponseType: Response type. - // - // Possible values: - // "RESPONSE_TYPE_UNSPECIFIED" - Not specified. - // "ENTRY_PROMPT" - The response is from an entry prompt in the page. - // "PARAMETER_PROMPT" - The response is from form-filling prompt in - // the page. - // "HANDLER_PROMPT" - The response is from a transition route or an - // event handler in the page or flow or transition route group. - ResponseType string `json:"responseType,omitempty"` - // TelephonyTransferCall: A signal that the client should transfer the // phone call connected to this agent to a third-party endpoint. TelephonyTransferCall *GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"` @@ -5129,7 +5118,7 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { AgentUri string `json:"agentUri,omitempty"` // CommitSha: Commit SHA of the git push. This field is populated if - // `git_destination` is specified in ExportAgentRequest. + // `git_destination` are specified in ExportAgentRequest. CommitSha string `json:"commitSha,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to @@ -8244,7 +8233,7 @@ type GoogleCloudDialogflowV2Context struct { // `projects//agent/sessions//contexts/`, or // `projects//agent/environments//users//sessions//contexts/`. The // `Context ID` is always converted to lowercase, may only contain - // characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If + // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -8256,14 +8245,13 @@ type GoogleCloudDialogflowV2Context struct { // Parameters: Optional. The collection of parameters associated with // this context. Depending on your protocol or client library language, // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: * MapKey - // type: string * MapKey value: parameter name * MapValue type: If - // parameter's entity type is a composite entity then use map, - // otherwise, depending on the parameter value type, it could be one of - // string, number, boolean, null, list or map. * MapValue value: If - // parameter's entity type is a composite entity then use map from - // composite entity property names to property values, otherwise, use - // parameter value. + // object composed of a collection of (MapKey, MapValue) pairs: - MapKey + // type: string - MapKey value: parameter name - MapValue type: - If + // parameter's entity type is a composite entity: map - Else: depending + // on parameter value type, could be one of string, number, boolean, + // null, list or map - MapValue value: - If parameter's entity type is a + // composite entity: map from composite entity property names to + // property values - Else: parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LifespanCount") to @@ -8768,13 +8756,13 @@ type GoogleCloudDialogflowV2EventInput struct { // Parameters: The collection of parameters associated with the event. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: * MapKey type: string * - // MapKey value: parameter name * MapValue type: If parameter's entity - // type is a composite entity then use map, otherwise, depending on the - // parameter value type, it could be one of string, number, boolean, - // null, list or map. * MapValue value: If parameter's entity type is a - // composite entity then use map from composite entity property names to - // property values, otherwise, use parameter value. + // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: depending on parameter value + // type, could be one of string, number, boolean, null, list or map - + // MapValue value: - If parameter's entity type is a composite entity: + // map from composite entity property names to property values - Else: + // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to @@ -8933,7 +8921,7 @@ func (s *GoogleCloudDialogflowV2FaqAnswer) UnmarshalJSON(data []byte) error { // for the output. type GoogleCloudDialogflowV2GcsDestination struct { // Uri: The Google Cloud Storage URIs for the output. A URI is of the - // form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is + // form: gs://bucket/object-prefix-or-name Whether a prefix or name is // used depends on the use case. The requesting user must have // "write-permission" to the bucket. Uri string `json:"uri,omitempty"` @@ -10808,13 +10796,13 @@ type GoogleCloudDialogflowV2QueryResult struct { // Parameters: The collection of extracted parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: * MapKey type: string * - // MapKey value: parameter name * MapValue type: If parameter's entity - // type is a composite entity then use map, otherwise, depending on the - // parameter value type, it could be one of string, number, boolean, - // null, list or map. * MapValue value: If parameter's entity type is a - // composite entity then use map from composite entity property names to - // property values, otherwise, use parameter value. + // collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: depending on parameter value + // type, could be one of string, number, boolean, null, list or map - + // MapValue value: - If parameter's entity type is a composite entity: + // map from composite entity property names to property values - Else: + // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // QueryText: The original conversational query text: - If natural @@ -11836,9 +11824,9 @@ type GoogleCloudDialogflowV2beta1AnalyzeContentRequest struct { // MessageSendTime: Optional. The send time of the message from end user // or human agent's perspective. It is used for identifying the same // message under one participant. Given two messages under the same - // participant: * If send time are different regardless of whether the + // participant: - If send time are different regardless of whether the // content of the messages are exactly the same, the conversation will - // regard them as two distinct messages sent by the participant. * If + // regard them as two distinct messages sent by the participant. - If // send time is the same regardless of whether the content of the // messages are exactly the same, the conversation will regard them as // same message, and ignore the message received later. If the value is @@ -12409,13 +12397,13 @@ func (s *GoogleCloudDialogflowV2beta1AutomatedAgentReply) UnmarshalJSON(data []b // expected in this phase. The client provides this configuration in // terms of the durations of those two phases. The durations are // measured in terms of the audio length fromt the the start of the -// input audio. The flow goes like below: ``` --> Time without speech +// input audio. The flow goes like below: --> Time without speech // detection | utterance only | utterance or no-speech event | | // +-------------+ | +------------+ | +---------------+ ----------+ no // barge-in +-|-+ barge-in +-|-+ normal period +----------- -// +-------------+ | +------------+ | +---------------+ ``` No-speech -// event is a response with END_OF_UTTERANCE without any transcript -// following up. +// +-------------+ | +------------+ | +---------------+ No-speech event +// is a response with END_OF_UTTERANCE without any transcript following +// up. type GoogleCloudDialogflowV2beta1BargeInConfig struct { // NoBargeInDuration: Duration that is not eligible for barge-in at the // beginning of the input audio. @@ -13071,7 +13059,7 @@ type GoogleCloudDialogflowV2beta1Context struct { // `projects//agent/environments//users//sessions//contexts/`, - // `projects//locations//agent/environments//users//sessions//contexts/`, // The `Context ID` is always converted to lowercase, may only contain - // characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If + // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -13083,14 +13071,13 @@ type GoogleCloudDialogflowV2beta1Context struct { // Parameters: Optional. The collection of parameters associated with // this context. Depending on your protocol or client library language, // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: * MapKey - // type: string * MapKey value: parameter name * MapValue type: If - // parameter's entity type is a composite entity then use map, - // otherwise, depending on the parameter value type, it could be one of - // string, number, boolean, null, list or map. * MapValue value: If - // parameter's entity type is a composite entity then use map from - // composite entity property names to property values, otherwise, use - // parameter value. + // object composed of a collection of (MapKey, MapValue) pairs: - MapKey + // type: string - MapKey value: parameter name - MapValue type: - If + // parameter's entity type is a composite entity: map - Else: depending + // on parameter value type, could be one of string, number, boolean, + // null, list or map - MapValue value: - If parameter's entity type is a + // composite entity: map from composite entity property names to + // property values - Else: parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -14099,13 +14086,13 @@ type GoogleCloudDialogflowV2beta1EventInput struct { // Parameters: The collection of parameters associated with the event. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: * MapKey type: string * - // MapKey value: parameter name * MapValue type: If parameter's entity - // type is a composite entity then use map, otherwise, depending on the - // parameter value type, it could be one of string, number, boolean, - // null, list or map. * MapValue value: If parameter's entity type is a - // composite entity then use map from composite entity property names to - // property values, otherwise, use parameter value. + // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: depending on parameter value + // type, could be one of string, number, boolean, null, list or map - + // MapValue value: - If parameter's entity type is a composite entity: + // map from composite entity property names to property values - Else: + // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to @@ -14443,7 +14430,7 @@ func (s *GoogleCloudDialogflowV2beta1FulfillmentGenericWebService) MarshalJSON() // location for the output. type GoogleCloudDialogflowV2beta1GcsDestination struct { // Uri: Required. The Google Cloud Storage URIs for the output. A URI is - // of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or + // of the form: gs://bucket/object-prefix-or-name Whether a prefix or // name is used depends on the use case. The requesting user must have // "write-permission" to the bucket. Uri string `json:"uri,omitempty"` @@ -14475,7 +14462,7 @@ func (s *GoogleCloudDialogflowV2beta1GcsDestination) MarshalJSON() ([]byte, erro // for single input. type GoogleCloudDialogflowV2beta1GcsSource struct { // Uri: Required. The Google Cloud Storage URIs for the inputs. A URI is - // of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or + // of the form: gs://bucket/object-prefix-or-name Whether a prefix or // name is used depends on the use case. Uri string `json:"uri,omitempty"` @@ -14506,8 +14493,8 @@ func (s *GoogleCloudDialogflowV2beta1GcsSource) MarshalJSON() ([]byte, error) { // locations for the inputs. type GoogleCloudDialogflowV2beta1GcsSources struct { // Uris: Required. Google Cloud Storage URIs for the inputs. A URI is of - // the form: `gs://bucket/object-prefix-or-name` Whether a prefix or - // name is used depends on the use case. + // the form: gs://bucket/object-prefix-or-name Whether a prefix or name + // is used depends on the use case. Uris []string `json:"uris,omitempty"` // ForceSendFields is a list of field names (e.g. "Uris") to @@ -15672,9 +15659,9 @@ type GoogleCloudDialogflowV2beta1InputAudioConfig struct { // Cloud Speech documentation // (https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) // for more details. This field is deprecated. Please use - // `speech_contexts` () instead. If you specify both `phrase_hints` () - // and `speech_contexts` (), Dialogflow will treat the `phrase_hints` () - // as a single additional `SpeechContext` (). + // speech_contexts () instead. If you specify both phrase_hints () and + // speech_contexts (), Dialogflow will treat the phrase_hints () as a + // single additional SpeechContext (). PhraseHints []string `json:"phraseHints,omitempty"` // SampleRateHertz: Required. Sample rate (in Hertz) of the audio @@ -19133,13 +19120,13 @@ type GoogleCloudDialogflowV2beta1QueryResult struct { // Parameters: The collection of extracted parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: * MapKey type: string * - // MapKey value: parameter name * MapValue type: If parameter's entity - // type is a composite entity then use map, otherwise, depending on the - // parameter value type, it could be one of string, number, boolean, - // null, list or map. * MapValue value: If parameter's entity type is a - // composite entity then use map from composite entity property names to - // property values, otherwise, use parameter value. + // collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: depending on parameter value + // type, could be one of string, number, boolean, null, list or map - + // MapValue value: - If parameter's entity type is a composite entity: + // map from composite entity property names to property values - Else: + // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // QueryText: The original conversational query text: - If natural @@ -20706,13 +20693,13 @@ type GoogleCloudDialogflowV2beta1SuggestionInput struct { // current page. The form parameters are specified via the parameters // field. Depending on your protocol or client library language, this is // a map, associative array, symbol table, dictionary, or JSON object - // composed of a collection of (MapKey, MapValue) pairs: * MapKey type: - // string * MapKey value: parameter name * MapValue type: If parameter's - // entity type is a composite entity then use map, otherwise, depending - // on the parameter value type, it could be one of string, number, - // boolean, null, list or map. * MapValue value: If parameter's entity - // type is a composite entity then use map from composite entity - // property names to property values, otherwise, use parameter value. + // composed of a collection of (MapKey, MapValue) pairs: - MapKey type: + // string - MapKey value: parameter name - MapValue type: - If + // parameter's entity type is a composite entity: map - Else: depending + // on parameter value type, could be one of string, number, boolean, + // null, list or map - MapValue value: - If parameter's entity type is a + // composite entity: map from composite entity property names to + // property values - Else: parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // TextOverride: Optional. If the customer edited the suggestion before @@ -21032,13 +21019,13 @@ type GoogleCloudDialogflowV2beta1TrainAgentRequest struct { // validation error. type GoogleCloudDialogflowV2beta1ValidationError struct { // Entries: The names of the entries that the error is associated with. - // Format: - `projects//agent`, if the error is associated with the - // entire agent. - `projects//agent/intents/`, if the error is + // Format: - "projects//agent", if the error is associated with the + // entire agent. - "projects//agent/intents/", if the error is // associated with certain intents. - - // `projects//agent/intents//trainingPhrases/`, if the error is + // "projects//agent/intents//trainingPhrases/", if the error is // associated with certain intent training phrases. - - // `projects//agent/intents//parameters/`, if the error is associated - // with certain intent parameters. - `projects//agent/entities/`, if the + // "projects//agent/intents//parameters/", if the error is associated + // with certain intent parameters. - "projects//agent/entities/", if the // error is associated with certain entities. Entries []string `json:"entries,omitempty"` @@ -27636,7 +27623,7 @@ type ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall struct { // `projects//agent/environments//users//sessions//contexts/`, - // `projects//locations//agent/environments//users//sessions//contexts/ // `, The `Context ID` is always converted to lowercase, may only -// contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes +// contain characters in a-zA-Z0-9_-% and may be at most 250 bytes // long. If `Environment ID` is not specified, we assume default // 'draft' environment. If `User ID` is not specified, we assume // default '-' user. The following context names are reserved for @@ -27758,7 +27745,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Do(opts ...goo // ], // "parameters": { // "name": { - // "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + // "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", // "location": "path", // "pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", // "required": true, @@ -32722,7 +32709,7 @@ type ProjectsAgentSessionsContextsPatchCall struct { // `projects//agent/environments//users//sessions//contexts/`, - // `projects//locations//agent/environments//users//sessions//contexts/ // `, The `Context ID` is always converted to lowercase, may only -// contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes +// contain characters in a-zA-Z0-9_-% and may be at most 250 bytes // long. If `Environment ID` is not specified, we assume default // 'draft' environment. If `User ID` is not specified, we assume // default '-' user. The following context names are reserved for @@ -32844,7 +32831,7 @@ func (c *ProjectsAgentSessionsContextsPatchCall) Do(opts ...googleapi.CallOption // ], // "parameters": { // "name": { - // "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + // "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", // "location": "path", // "pattern": "^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", // "required": true, @@ -36313,7 +36300,7 @@ func (r *ProjectsConversationsService) Create(parentid string, googleclouddialog // Identifier of the conversation. Generally it's auto generated by // Google. Only set it if you cannot wait for the response to return a // auto-generated one to you. The conversation ID must be compliant with -// the regression fomula `a-zA-Z*` with the characters length in range +// the regression fomula "a-zA-Z*" with the characters length in range // of [3,64]. If the field is provided, the caller is resposible for 1. // the uniqueness of the ID, otherwise the request will be rejected. 2. // the consistency for whether to use custom ID or not under a project @@ -36425,7 +36412,7 @@ func (c *ProjectsConversationsCreateCall) Do(opts ...googleapi.CallOption) (*Goo // ], // "parameters": { // "conversationId": { - // "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", + // "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula \"a-zA-Z*\" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", // "location": "query", // "type": "string" // }, @@ -46931,7 +46918,7 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall struct { // `projects//agent/environments//users//sessions//contexts/`, - // `projects//locations//agent/environments//users//sessions//contexts/ // `, The `Context ID` is always converted to lowercase, may only -// contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes +// contain characters in a-zA-Z0-9_-% and may be at most 250 bytes // long. If `Environment ID` is not specified, we assume default // 'draft' environment. If `User ID` is not specified, we assume // default '-' user. The following context names are reserved for @@ -47053,7 +47040,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) Do(op // ], // "parameters": { // "name": { - // "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + // "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", // "required": true, @@ -50182,7 +50169,7 @@ type ProjectsLocationsAgentSessionsContextsPatchCall struct { // `projects//agent/environments//users//sessions//contexts/`, - // `projects//locations//agent/environments//users//sessions//contexts/ // `, The `Context ID` is always converted to lowercase, may only -// contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes +// contain characters in a-zA-Z0-9_-% and may be at most 250 bytes // long. If `Environment ID` is not specified, we assume default // 'draft' environment. If `User ID` is not specified, we assume // default '-' user. The following context names are reserved for @@ -50304,7 +50291,7 @@ func (c *ProjectsLocationsAgentSessionsContextsPatchCall) Do(opts ...googleapi.C // ], // "parameters": { // "name": { - // "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + // "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", // "required": true, @@ -53773,7 +53760,7 @@ func (r *ProjectsLocationsConversationsService) Create(parentid string, googlecl // Identifier of the conversation. Generally it's auto generated by // Google. Only set it if you cannot wait for the response to return a // auto-generated one to you. The conversation ID must be compliant with -// the regression fomula `a-zA-Z*` with the characters length in range +// the regression fomula "a-zA-Z*" with the characters length in range // of [3,64]. If the field is provided, the caller is resposible for 1. // the uniqueness of the ID, otherwise the request will be rejected. 2. // the consistency for whether to use custom ID or not under a project @@ -53885,7 +53872,7 @@ func (c *ProjectsLocationsConversationsCreateCall) Do(opts ...googleapi.CallOpti // ], // "parameters": { // "conversationId": { - // "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", + // "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula \"a-zA-Z*\" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", // "location": "query", // "type": "string" // }, diff --git a/dialogflow/v3/dialogflow-api.json b/dialogflow/v3/dialogflow-api.json index 4469123ed1c..6eef6919583 100644 --- a/dialogflow/v3/dialogflow-api.json +++ b/dialogflow/v3/dialogflow-api.json @@ -3820,7 +3820,7 @@ } } }, - "revision": "20230711", + "revision": "20230714", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -3963,7 +3963,7 @@ "type": "string" }, "trackingBranch": { - "description": "The branch of the GitHub repository tracked for this agent.", + "description": "The branch of GitHub repository tracked for this agent.", "type": "string" } }, @@ -5025,7 +5025,7 @@ "type": "string" }, "commitSha": { - "description": "Commit SHA of the git push. This field is populated if `git_destination` is specified in ExportAgentRequest.", + "description": "Commit SHA of the git push. This field is populated if `git_destination` are specified in ExportAgentRequest.", "type": "string" } }, @@ -6664,22 +6664,6 @@ "$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", "description": "Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct mixed_audio. However, Dialogflow itself does not try to read or process the URI in any way." }, - "responseType": { - "description": "Response type.", - "enum": [ - "RESPONSE_TYPE_UNSPECIFIED", - "ENTRY_PROMPT", - "PARAMETER_PROMPT", - "HANDLER_PROMPT" - ], - "enumDescriptions": [ - "Not specified.", - "The response is from an entry prompt in the page.", - "The response is from form-filling prompt in the page.", - "The response is from a transition route or an event handler in the page or flow or transition route group." - ], - "type": "string" - }, "telephonyTransferCall": { "$ref": "GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall", "description": "A signal that the client should transfer the phone call connected to this agent to a third-party endpoint." @@ -8660,7 +8644,7 @@ "type": "string" }, "commitSha": { - "description": "Commit SHA of the git push. This field is populated if `git_destination` is specified in ExportAgentRequest.", + "description": "Commit SHA of the git push. This field is populated if `git_destination` are specified in ExportAgentRequest.", "type": "string" } }, @@ -10355,7 +10339,7 @@ "type": "integer" }, "name": { - "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "type": "string" }, "parameters": { @@ -10363,7 +10347,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" } }, @@ -10691,7 +10675,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" } }, @@ -10764,7 +10748,7 @@ "id": "GoogleCloudDialogflowV2GcsDestination", "properties": { "uri": { - "description": "The Google Cloud Storage URIs for the output. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", + "description": "The Google Cloud Storage URIs for the output. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", "type": "string" } }, @@ -11966,7 +11950,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" }, "queryText": { @@ -12468,7 +12452,7 @@ "type": "integer" }, "name": { - "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "type": "string" }, "parameters": { @@ -12476,7 +12460,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" } }, @@ -12629,7 +12613,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" } }, @@ -12702,7 +12686,7 @@ "id": "GoogleCloudDialogflowV2beta1GcsDestination", "properties": { "uri": { - "description": "Required. The Google Cloud Storage URIs for the output. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", + "description": "Required. The Google Cloud Storage URIs for the output. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", "type": "string" } }, @@ -14228,7 +14212,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", + "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", "type": "object" }, "queryText": { diff --git a/dialogflow/v3/dialogflow-gen.go b/dialogflow/v3/dialogflow-gen.go index 513e54a1825..44e64fcc0b2 100644 --- a/dialogflow/v3/dialogflow-gen.go +++ b/dialogflow/v3/dialogflow-gen.go @@ -671,7 +671,7 @@ type GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings struct { // RepositoryUri: The GitHub repository URI related to the agent. RepositoryUri string `json:"repositoryUri,omitempty"` - // TrackingBranch: The branch of the GitHub repository tracked for this + // TrackingBranch: The branch of GitHub repository tracked for this // agent. TrackingBranch string `json:"trackingBranch,omitempty"` @@ -2576,7 +2576,7 @@ type GoogleCloudDialogflowCxV3ExportAgentResponse struct { AgentUri string `json:"agentUri,omitempty"` // CommitSha: Commit SHA of the git push. This field is populated if - // `git_destination` is specified in ExportAgentRequest. + // `git_destination` are specified in ExportAgentRequest. CommitSha string `json:"commitSha,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to @@ -5766,17 +5766,6 @@ type GoogleCloudDialogflowCxV3ResponseMessage struct { // any way. PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"` - // ResponseType: Response type. - // - // Possible values: - // "RESPONSE_TYPE_UNSPECIFIED" - Not specified. - // "ENTRY_PROMPT" - The response is from an entry prompt in the page. - // "PARAMETER_PROMPT" - The response is from form-filling prompt in - // the page. - // "HANDLER_PROMPT" - The response is from a transition route or an - // event handler in the page or flow or transition route group. - ResponseType string `json:"responseType,omitempty"` - // TelephonyTransferCall: A signal that the client should transfer the // phone call connected to this agent to a third-party endpoint. TelephonyTransferCall *GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"` @@ -9393,7 +9382,7 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { AgentUri string `json:"agentUri,omitempty"` // CommitSha: Commit SHA of the git push. This field is populated if - // `git_destination` is specified in ExportAgentRequest. + // `git_destination` are specified in ExportAgentRequest. CommitSha string `json:"commitSha,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to @@ -12508,7 +12497,7 @@ type GoogleCloudDialogflowV2Context struct { // `projects//agent/sessions//contexts/`, or // `projects//agent/environments//users//sessions//contexts/`. The // `Context ID` is always converted to lowercase, may only contain - // characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If + // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -12520,14 +12509,13 @@ type GoogleCloudDialogflowV2Context struct { // Parameters: Optional. The collection of parameters associated with // this context. Depending on your protocol or client library language, // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: * MapKey - // type: string * MapKey value: parameter name * MapValue type: If - // parameter's entity type is a composite entity then use map, - // otherwise, depending on the parameter value type, it could be one of - // string, number, boolean, null, list or map. * MapValue value: If - // parameter's entity type is a composite entity then use map from - // composite entity property names to property values, otherwise, use - // parameter value. + // object composed of a collection of (MapKey, MapValue) pairs: - MapKey + // type: string - MapKey value: parameter name - MapValue type: - If + // parameter's entity type is a composite entity: map - Else: depending + // on parameter value type, could be one of string, number, boolean, + // null, list or map - MapValue value: - If parameter's entity type is a + // composite entity: map from composite entity property names to + // property values - Else: parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LifespanCount") to @@ -13032,13 +13020,13 @@ type GoogleCloudDialogflowV2EventInput struct { // Parameters: The collection of parameters associated with the event. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: * MapKey type: string * - // MapKey value: parameter name * MapValue type: If parameter's entity - // type is a composite entity then use map, otherwise, depending on the - // parameter value type, it could be one of string, number, boolean, - // null, list or map. * MapValue value: If parameter's entity type is a - // composite entity then use map from composite entity property names to - // property values, otherwise, use parameter value. + // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: depending on parameter value + // type, could be one of string, number, boolean, null, list or map - + // MapValue value: - If parameter's entity type is a composite entity: + // map from composite entity property names to property values - Else: + // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to @@ -13197,7 +13185,7 @@ func (s *GoogleCloudDialogflowV2FaqAnswer) UnmarshalJSON(data []byte) error { // for the output. type GoogleCloudDialogflowV2GcsDestination struct { // Uri: The Google Cloud Storage URIs for the output. A URI is of the - // form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is + // form: gs://bucket/object-prefix-or-name Whether a prefix or name is // used depends on the use case. The requesting user must have // "write-permission" to the bucket. Uri string `json:"uri,omitempty"` @@ -15072,13 +15060,13 @@ type GoogleCloudDialogflowV2QueryResult struct { // Parameters: The collection of extracted parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: * MapKey type: string * - // MapKey value: parameter name * MapValue type: If parameter's entity - // type is a composite entity then use map, otherwise, depending on the - // parameter value type, it could be one of string, number, boolean, - // null, list or map. * MapValue value: If parameter's entity type is a - // composite entity then use map from composite entity property names to - // property values, otherwise, use parameter value. + // collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: depending on parameter value + // type, could be one of string, number, boolean, null, list or map - + // MapValue value: - If parameter's entity type is a composite entity: + // map from composite entity property names to property values - Else: + // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // QueryText: The original conversational query text: - If natural @@ -16025,7 +16013,7 @@ type GoogleCloudDialogflowV2beta1Context struct { // `projects//agent/environments//users//sessions//contexts/`, - // `projects//locations//agent/environments//users//sessions//contexts/`, // The `Context ID` is always converted to lowercase, may only contain - // characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If + // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -16037,14 +16025,13 @@ type GoogleCloudDialogflowV2beta1Context struct { // Parameters: Optional. The collection of parameters associated with // this context. Depending on your protocol or client library language, // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: * MapKey - // type: string * MapKey value: parameter name * MapValue type: If - // parameter's entity type is a composite entity then use map, - // otherwise, depending on the parameter value type, it could be one of - // string, number, boolean, null, list or map. * MapValue value: If - // parameter's entity type is a composite entity then use map from - // composite entity property names to property values, otherwise, use - // parameter value. + // object composed of a collection of (MapKey, MapValue) pairs: - MapKey + // type: string - MapKey value: parameter name - MapValue type: - If + // parameter's entity type is a composite entity: map - Else: depending + // on parameter value type, could be one of string, number, boolean, + // null, list or map - MapValue value: - If parameter's entity type is a + // composite entity: map from composite entity property names to + // property values - Else: parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LifespanCount") to @@ -16306,13 +16293,13 @@ type GoogleCloudDialogflowV2beta1EventInput struct { // Parameters: The collection of parameters associated with the event. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: * MapKey type: string * - // MapKey value: parameter name * MapValue type: If parameter's entity - // type is a composite entity then use map, otherwise, depending on the - // parameter value type, it could be one of string, number, boolean, - // null, list or map. * MapValue value: If parameter's entity type is a - // composite entity then use map from composite entity property names to - // property values, otherwise, use parameter value. + // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: depending on parameter value + // type, could be one of string, number, boolean, null, list or map - + // MapValue value: - If parameter's entity type is a composite entity: + // map from composite entity property names to property values - Else: + // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to @@ -16471,7 +16458,7 @@ func (s *GoogleCloudDialogflowV2beta1FaqAnswer) UnmarshalJSON(data []byte) error // location for the output. type GoogleCloudDialogflowV2beta1GcsDestination struct { // Uri: Required. The Google Cloud Storage URIs for the output. A URI is - // of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or + // of the form: gs://bucket/object-prefix-or-name Whether a prefix or // name is used depends on the use case. The requesting user must have // "write-permission" to the bucket. Uri string `json:"uri,omitempty"` @@ -18945,13 +18932,13 @@ type GoogleCloudDialogflowV2beta1QueryResult struct { // Parameters: The collection of extracted parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: * MapKey type: string * - // MapKey value: parameter name * MapValue type: If parameter's entity - // type is a composite entity then use map, otherwise, depending on the - // parameter value type, it could be one of string, number, boolean, - // null, list or map. * MapValue value: If parameter's entity type is a - // composite entity then use map from composite entity property names to - // property values, otherwise, use parameter value. + // collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: depending on parameter value + // type, could be one of string, number, boolean, null, list or map - + // MapValue value: - If parameter's entity type is a composite entity: + // map from composite entity property names to property values - Else: + // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // QueryText: The original conversational query text: - If natural diff --git a/gkebackup/v1/gkebackup-api.json b/gkebackup/v1/gkebackup-api.json index f904d92c252..744c898c963 100644 --- a/gkebackup/v1/gkebackup-api.json +++ b/gkebackup/v1/gkebackup-api.json @@ -1688,7 +1688,7 @@ } } }, - "revision": "20230609", + "revision": "20230705", "rootUrl": "https://gkebackup.googleapis.com/", "schemas": { "AuditConfig": { @@ -1740,7 +1740,7 @@ "type": "object" }, "Backup": { - "description": "Represents a request to perform a single point-in-time capture of some portion of the state of a GKE cluster, the record of the backup operation itself, and an anchor for the underlying artifacts that comprise the Backup (the config backup and VolumeBackups). Next id: 28", + "description": "Represents a request to perform a single point-in-time capture of some portion of the state of a GKE cluster, the record of the backup operation itself, and an anchor for the underlying artifacts that comprise the Backup (the config backup and VolumeBackups). Next id: 29", "id": "Backup", "properties": { "allNamespaces": { diff --git a/gkebackup/v1/gkebackup-gen.go b/gkebackup/v1/gkebackup-gen.go index 1465b620995..f71a72e76e6 100644 --- a/gkebackup/v1/gkebackup-gen.go +++ b/gkebackup/v1/gkebackup-gen.go @@ -344,7 +344,7 @@ func (s *AuditLogConfig) MarshalJSON() ([]byte, error) { // capture of some portion of the state of a GKE cluster, the record of // the backup operation itself, and an anchor for the underlying // artifacts that comprise the Backup (the config backup and -// VolumeBackups). Next id: 28 +// VolumeBackups). Next id: 29 type Backup struct { // AllNamespaces: Output only. If True, all namespaces were included in // the Backup. diff --git a/gkehub/v1/gkehub-api.json b/gkehub/v1/gkehub-api.json index 1c6b4fe614d..dcc48a593b6 100644 --- a/gkehub/v1/gkehub-api.json +++ b/gkehub/v1/gkehub-api.json @@ -1518,7 +1518,7 @@ } } }, - "revision": "20230627", + "revision": "20230707", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -2727,6 +2727,13 @@ "description": "Optional. A user-assigned display name of the Fleet. When present, it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `Production Fleet`", "type": "string" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels for this Fleet.", + "type": "object" + }, "name": { "description": "Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one fleet resource, named \"default\".", "readOnly": true, @@ -2987,7 +2994,7 @@ }, "googleConfig": { "$ref": "IdentityServiceGoogleConfig", - "description": "GoogleConfig specific configuration" + "description": "GoogleConfig specific configuration." }, "name": { "description": "Identifier for auth config.", @@ -3029,6 +3036,10 @@ "tenant": { "description": "Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.", "type": "string" + }, + "userClaim": { + "description": "Optional. Claim in the AzureAD ID Token that holds the user details.", + "type": "string" } }, "type": "object" @@ -3489,6 +3500,13 @@ "description": "Whether the membershipbinding is Fleet-wide; true means that this Membership should be bound to all Namespaces in this entire Fleet.", "type": "boolean" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels for this MembershipBinding.", + "type": "object" + }, "name": { "description": "The resource name for the membershipbinding itself `projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}`", "type": "string" @@ -3946,6 +3964,13 @@ "readOnly": true, "type": "string" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels for this Scope.", + "type": "object" + }, "name": { "description": "The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}`", "type": "string" diff --git a/gkehub/v1/gkehub-gen.go b/gkehub/v1/gkehub-gen.go index e33f8dac202..50dcec21c92 100644 --- a/gkehub/v1/gkehub-gen.go +++ b/gkehub/v1/gkehub-gen.go @@ -2160,6 +2160,9 @@ type Fleet struct { // `Production Fleet` DisplayName string `json:"displayName,omitempty"` + // Labels: Optional. Labels for this Fleet. + Labels map[string]string `json:"labels,omitempty"` + // Name: Output only. The full, unique resource name of this fleet in // the format of // `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google @@ -2640,7 +2643,7 @@ type IdentityServiceAuthMethod struct { // AzureadConfig: AzureAD specific Configuration. AzureadConfig *IdentityServiceAzureADConfig `json:"azureadConfig,omitempty"` - // GoogleConfig: GoogleConfig specific configuration + // GoogleConfig: GoogleConfig specific configuration. GoogleConfig *IdentityServiceGoogleConfig `json:"googleConfig,omitempty"` // Name: Identifier for auth config. @@ -2697,6 +2700,10 @@ type IdentityServiceAzureADConfig struct { // values are or for accounts belonging to a specific tenant. Tenant string `json:"tenant,omitempty"` + // UserClaim: Optional. Claim in the AzureAD ID Token that holds the + // user details. + UserClaim string `json:"userClaim,omitempty"` + // ForceSendFields is a list of field names (e.g. "ClientId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -3436,6 +3443,9 @@ type MembershipBinding struct { // Fleet. Fleet bool `json:"fleet,omitempty"` + // Labels: Optional. Labels for this MembershipBinding. + Labels map[string]string `json:"labels,omitempty"` + // Name: The resource name for the membershipbinding itself // `projects/{project}/locations/{location}/memberships/{membership}/bind // ings/{membershipbinding}` @@ -4246,6 +4256,9 @@ type Scope struct { // DeleteTime: Output only. When the scope was deleted. DeleteTime string `json:"deleteTime,omitempty"` + // Labels: Optional. Labels for this Scope. + Labels map[string]string `json:"labels,omitempty"` + // Name: The resource name for the scope // `projects/{project}/locations/{location}/scopes/{scope}` Name string `json:"name,omitempty"` diff --git a/gkehub/v1alpha/gkehub-api.json b/gkehub/v1alpha/gkehub-api.json index 70840db134a..dbc64705820 100644 --- a/gkehub/v1alpha/gkehub-api.json +++ b/gkehub/v1alpha/gkehub-api.json @@ -2098,7 +2098,7 @@ } } }, - "revision": "20230627", + "revision": "20230707", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -2356,6 +2356,13 @@ "$ref": "ClusterUpgradeScopeGKEUpgradeState" }, "type": "array" + }, + "upgradeState": { + "description": "Upgrade state. It will eventually replace `state`.", + "items": { + "$ref": "ClusterUpgradeGKEUpgradeState" + }, + "type": "array" } }, "type": "object" @@ -2375,6 +2382,29 @@ }, "type": "object" }, + "ClusterUpgradeGKEUpgradeState": { + "description": "GKEUpgradeState is a GKEUpgrade and its state at the scope and fleet level.", + "id": "ClusterUpgradeGKEUpgradeState", + "properties": { + "stats": { + "additionalProperties": { + "format": "int64", + "type": "string" + }, + "description": "Number of GKE clusters in each status code.", + "type": "object" + }, + "status": { + "$ref": "ClusterUpgradeUpgradeStatus", + "description": "Status of the upgrade." + }, + "upgrade": { + "$ref": "ClusterUpgradeGKEUpgrade", + "description": "Which upgrade to track the state." + } + }, + "type": "object" + }, "ClusterUpgradeIgnoredMembership": { "description": "IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default.", "id": "ClusterUpgradeIgnoredMembership", @@ -3737,6 +3767,13 @@ "description": "Optional. A user-assigned display name of the Fleet. When present, it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `Production Fleet`", "type": "string" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels for this Fleet.", + "type": "object" + }, "name": { "description": "Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one fleet resource, named \"default\".", "readOnly": true, @@ -4008,7 +4045,7 @@ }, "googleConfig": { "$ref": "IdentityServiceGoogleConfig", - "description": "GoogleConfig specific configuration" + "description": "GoogleConfig specific configuration." }, "name": { "description": "Identifier for auth config.", @@ -4050,6 +4087,10 @@ "tenant": { "description": "Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.", "type": "string" + }, + "userClaim": { + "description": "Optional. Claim in the AzureAD ID Token that holds the user details.", + "type": "string" } }, "type": "object" @@ -4589,6 +4630,13 @@ "description": "Whether the membershipbinding is Fleet-wide; true means that this Membership should be bound to all Namespaces in this entire Fleet.", "type": "boolean" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels for this MembershipBinding.", + "type": "object" + }, "name": { "description": "The resource name for the membershipbinding itself `projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}`", "type": "string" @@ -4920,6 +4968,13 @@ "readOnly": true, "type": "string" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels for this Namespace.", + "type": "object" + }, "name": { "description": "The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}`", "type": "string" @@ -5190,13 +5245,15 @@ "INSTALL_SPEC_UNSPECIFIED", "INSTALL_SPEC_NOT_INSTALLED", "INSTALL_SPEC_ENABLED", - "INSTALL_SPEC_SUSPENDED" + "INSTALL_SPEC_SUSPENDED", + "INSTALL_SPEC_DETACHED" ], "enumDescriptions": [ "Spec is unknown.", "Request to uninstall Policy Controller.", "Request to install and enable Policy Controller.", - "Request to suspend Policy Controller i.e. its webhooks. If Policy Controller is not installed, it will be installed but suspended." + "Request to suspend Policy Controller i.e. its webhooks. If Policy Controller is not installed, it will be installed but suspended.", + "Request to stop all reconciliation actions by PoCo Hub controller. This is a breakglass mechanism to stop PoCo Hub from affecting cluster resources." ], "type": "string" }, @@ -5264,7 +5321,8 @@ "DECOMMISSIONING", "CLUSTER_ERROR", "HUB_ERROR", - "SUSPENDED" + "SUSPENDED", + "DETACHED" ], "enumDescriptions": [ "The lifecycle state is unspecified.", @@ -5275,7 +5333,8 @@ "The PC may have resources on the cluster, but the PCH wishes to remove the Membership. The Membership still exists.", "The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as 'install').", "In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to 'take hands off' to avoid corrupting the PC or other data.", - "Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit)." + "Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit).", + "PoCo Hub is not taking any action to reconcile cluster objects. Changes to those objects will not be overwritten by PoCo Hub." ], "type": "string" } @@ -5325,7 +5384,8 @@ "DECOMMISSIONING", "CLUSTER_ERROR", "HUB_ERROR", - "SUSPENDED" + "SUSPENDED", + "DETACHED" ], "enumDescriptions": [ "The lifecycle state is unspecified.", @@ -5336,7 +5396,8 @@ "The PC may have resources on the cluster, but the PCH wishes to remove the Membership. The Membership still exists.", "The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as 'install').", "In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to 'take hands off' to avoid corrupting the PC or other data.", - "Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit)." + "Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit).", + "PoCo Hub is not taking any action to reconcile cluster objects. Changes to those objects will not be overwritten by PoCo Hub." ], "type": "string" } @@ -5518,6 +5579,13 @@ "description": "group is the group, as seen by the kubernetes cluster.", "type": "string" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels for this RBACRolebinding.", + "type": "object" + }, "name": { "description": "The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`", "type": "string" @@ -5654,6 +5722,13 @@ "readOnly": true, "type": "string" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels for this Scope.", + "type": "object" + }, "name": { "description": "The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}`", "type": "string" diff --git a/gkehub/v1alpha/gkehub-gen.go b/gkehub/v1alpha/gkehub-gen.go index 2a1165d870f..05fad983e3c 100644 --- a/gkehub/v1alpha/gkehub-gen.go +++ b/gkehub/v1alpha/gkehub-gen.go @@ -836,6 +836,9 @@ type ClusterUpgradeGKEUpgradeFeatureState struct { // State: Scope-level upgrade state. State []*ClusterUpgradeScopeGKEUpgradeState `json:"state,omitempty"` + // UpgradeState: Upgrade state. It will eventually replace `state`. + UpgradeState []*ClusterUpgradeGKEUpgradeState `json:"upgradeState,omitempty"` + // ForceSendFields is a list of field names (e.g. "Conditions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -894,6 +897,41 @@ func (s *ClusterUpgradeGKEUpgradeOverride) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ClusterUpgradeGKEUpgradeState: GKEUpgradeState is a GKEUpgrade and +// its state at the scope and fleet level. +type ClusterUpgradeGKEUpgradeState struct { + // Stats: Number of GKE clusters in each status code. + Stats map[string]string `json:"stats,omitempty"` + + // Status: Status of the upgrade. + Status *ClusterUpgradeUpgradeStatus `json:"status,omitempty"` + + // Upgrade: Which upgrade to track the state. + Upgrade *ClusterUpgradeGKEUpgrade `json:"upgrade,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Stats") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Stats") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *ClusterUpgradeGKEUpgradeState) MarshalJSON() ([]byte, error) { + type NoMethod ClusterUpgradeGKEUpgradeState + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ClusterUpgradeIgnoredMembership: IgnoredMembership represents a // membership ignored by the feature. A membership can be ignored // because it was manually upgraded to a newer version than RC default. @@ -2974,6 +3012,9 @@ type Fleet struct { // `Production Fleet` DisplayName string `json:"displayName,omitempty"` + // Labels: Optional. Labels for this Fleet. + Labels map[string]string `json:"labels,omitempty"` + // Name: Output only. The full, unique resource name of this fleet in // the format of // `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google @@ -3488,7 +3529,7 @@ type IdentityServiceAuthMethod struct { // AzureadConfig: AzureAD specific Configuration. AzureadConfig *IdentityServiceAzureADConfig `json:"azureadConfig,omitempty"` - // GoogleConfig: GoogleConfig specific configuration + // GoogleConfig: GoogleConfig specific configuration. GoogleConfig *IdentityServiceGoogleConfig `json:"googleConfig,omitempty"` // Name: Identifier for auth config. @@ -3545,6 +3586,10 @@ type IdentityServiceAzureADConfig struct { // values are or for accounts belonging to a specific tenant. Tenant string `json:"tenant,omitempty"` + // UserClaim: Optional. Claim in the AzureAD ID Token that holds the + // user details. + UserClaim string `json:"userClaim,omitempty"` + // ForceSendFields is a list of field names (e.g. "ClientId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -4441,6 +4486,9 @@ type MembershipBinding struct { // Fleet. Fleet bool `json:"fleet,omitempty"` + // Labels: Optional. Labels for this MembershipBinding. + Labels map[string]string `json:"labels,omitempty"` + // Name: The resource name for the membershipbinding itself // `projects/{project}/locations/{location}/memberships/{membership}/bind // ings/{membershipbinding}` @@ -4969,6 +5017,9 @@ type Namespace struct { // DeleteTime: Output only. When the namespace was deleted. DeleteTime string `json:"deleteTime,omitempty"` + // Labels: Optional. Labels for this Namespace. + Labels map[string]string `json:"labels,omitempty"` + // Name: The resource name for the namespace // `projects/{project}/locations/{location}/namespaces/{namespace}` Name string `json:"name,omitempty"` @@ -5429,6 +5480,9 @@ type PolicyControllerHubConfig struct { // "INSTALL_SPEC_SUSPENDED" - Request to suspend Policy Controller // i.e. its webhooks. If Policy Controller is not installed, it will be // installed but suspended. + // "INSTALL_SPEC_DETACHED" - Request to stop all reconciliation + // actions by PoCo Hub controller. This is a breakglass mechanism to + // stop PoCo Hub from affecting cluster resources. InstallSpec string `json:"installSpec,omitempty"` // LogDeniesEnabled: Logs all denies and dry run failures. @@ -5560,6 +5614,9 @@ type PolicyControllerMembershipState struct { // "SUSPENDED" - Policy Controller (PC) is installed but suspended. // This means that the policies are not enforced, but violations are // still recorded (through audit). + // "DETACHED" - PoCo Hub is not taking any action to reconcile cluster + // objects. Changes to those objects will not be overwritten by PoCo + // Hub. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "ComponentStates") to @@ -5669,6 +5726,9 @@ type PolicyControllerOnClusterState struct { // "SUSPENDED" - Policy Controller (PC) is installed but suspended. // This means that the policies are not enforced, but violations are // still recorded (through audit). + // "DETACHED" - PoCo Hub is not taking any action to reconcile cluster + // objects. Changes to those objects will not be overwritten by PoCo + // Hub. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "Details") to @@ -5968,6 +6028,9 @@ type RBACRoleBinding struct { // Group: group is the group, as seen by the kubernetes cluster. Group string `json:"group,omitempty"` + // Labels: Optional. Labels for this RBACRolebinding. + Labels map[string]string `json:"labels,omitempty"` + // Name: The resource name for the rbacrolebinding // `projects/{project}/locations/{location}/namespaces/{namespace}/rbacro // lebindings/{rbacrolebinding}` or @@ -6186,6 +6249,9 @@ type Scope struct { // DeleteTime: Output only. When the scope was deleted. DeleteTime string `json:"deleteTime,omitempty"` + // Labels: Optional. Labels for this Scope. + Labels map[string]string `json:"labels,omitempty"` + // Name: The resource name for the scope // `projects/{project}/locations/{location}/scopes/{scope}` Name string `json:"name,omitempty"` diff --git a/gkehub/v1beta/gkehub-api.json b/gkehub/v1beta/gkehub-api.json index 8232f54cc92..2a5194015d9 100644 --- a/gkehub/v1beta/gkehub-api.json +++ b/gkehub/v1beta/gkehub-api.json @@ -1784,7 +1784,7 @@ } } }, - "revision": "20230627", + "revision": "20230707", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -3026,6 +3026,13 @@ "description": "Optional. A user-assigned display name of the Fleet. When present, it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `Production Fleet`", "type": "string" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels for this Fleet.", + "type": "object" + }, "name": { "description": "Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one fleet resource, named \"default\".", "readOnly": true, @@ -3267,7 +3274,7 @@ }, "googleConfig": { "$ref": "IdentityServiceGoogleConfig", - "description": "GoogleConfig specific configuration" + "description": "GoogleConfig specific configuration." }, "name": { "description": "Identifier for auth config.", @@ -3309,6 +3316,10 @@ "tenant": { "description": "Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.", "type": "string" + }, + "userClaim": { + "description": "Optional. Claim in the AzureAD ID Token that holds the user details.", + "type": "string" } }, "type": "object" @@ -3652,6 +3663,13 @@ "description": "Whether the membershipbinding is Fleet-wide; true means that this Membership should be bound to all Namespaces in this entire Fleet.", "type": "boolean" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels for this MembershipBinding.", + "type": "object" + }, "name": { "description": "The resource name for the membershipbinding itself `projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}`", "type": "string" @@ -3867,6 +3885,13 @@ "readOnly": true, "type": "string" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels for this Namespace.", + "type": "object" + }, "name": { "description": "The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}`", "type": "string" @@ -4099,13 +4124,15 @@ "INSTALL_SPEC_UNSPECIFIED", "INSTALL_SPEC_NOT_INSTALLED", "INSTALL_SPEC_ENABLED", - "INSTALL_SPEC_SUSPENDED" + "INSTALL_SPEC_SUSPENDED", + "INSTALL_SPEC_DETACHED" ], "enumDescriptions": [ "Spec is unknown.", "Request to uninstall Policy Controller.", "Request to install and enable Policy Controller.", - "Request to suspend Policy Controller i.e. its webhooks. If Policy Controller is not installed, it will be installed but suspended." + "Request to suspend Policy Controller i.e. its webhooks. If Policy Controller is not installed, it will be installed but suspended.", + "Request to stop all reconciliation actions by PoCo Hub controller. This is a breakglass mechanism to stop PoCo Hub from affecting cluster resources." ], "type": "string" }, @@ -4173,7 +4200,8 @@ "DECOMMISSIONING", "CLUSTER_ERROR", "HUB_ERROR", - "SUSPENDED" + "SUSPENDED", + "DETACHED" ], "enumDescriptions": [ "The lifecycle state is unspecified.", @@ -4184,7 +4212,8 @@ "The PC may have resources on the cluster, but the PCH wishes to remove the Membership. The Membership still exists.", "The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as 'install').", "In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to 'take hands off' to avoid corrupting the PC or other data.", - "Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit)." + "Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit).", + "PoCo Hub is not taking any action to reconcile cluster objects. Changes to those objects will not be overwritten by PoCo Hub." ], "type": "string" } @@ -4234,7 +4263,8 @@ "DECOMMISSIONING", "CLUSTER_ERROR", "HUB_ERROR", - "SUSPENDED" + "SUSPENDED", + "DETACHED" ], "enumDescriptions": [ "The lifecycle state is unspecified.", @@ -4245,7 +4275,8 @@ "The PC may have resources on the cluster, but the PCH wishes to remove the Membership. The Membership still exists.", "The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as 'install').", "In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to 'take hands off' to avoid corrupting the PC or other data.", - "Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit)." + "Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit).", + "PoCo Hub is not taking any action to reconcile cluster objects. Changes to those objects will not be overwritten by PoCo Hub." ], "type": "string" } @@ -4427,6 +4458,13 @@ "description": "group is the group, as seen by the kubernetes cluster.", "type": "string" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels for this RBACRolebinding.", + "type": "object" + }, "name": { "description": "The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`", "type": "string" @@ -4529,6 +4567,13 @@ "readOnly": true, "type": "string" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels for this Scope.", + "type": "object" + }, "name": { "description": "The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}`", "type": "string" diff --git a/gkehub/v1beta/gkehub-gen.go b/gkehub/v1beta/gkehub-gen.go index 12305921ef4..39782920505 100644 --- a/gkehub/v1beta/gkehub-gen.go +++ b/gkehub/v1beta/gkehub-gen.go @@ -2242,6 +2242,9 @@ type Fleet struct { // `Production Fleet` DisplayName string `json:"displayName,omitempty"` + // Labels: Optional. Labels for this Fleet. + Labels map[string]string `json:"labels,omitempty"` + // Name: Output only. The full, unique resource name of this fleet in // the format of // `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google @@ -2684,7 +2687,7 @@ type IdentityServiceAuthMethod struct { // AzureadConfig: AzureAD specific Configuration. AzureadConfig *IdentityServiceAzureADConfig `json:"azureadConfig,omitempty"` - // GoogleConfig: GoogleConfig specific configuration + // GoogleConfig: GoogleConfig specific configuration. GoogleConfig *IdentityServiceGoogleConfig `json:"googleConfig,omitempty"` // Name: Identifier for auth config. @@ -2741,6 +2744,10 @@ type IdentityServiceAzureADConfig struct { // values are or for accounts belonging to a specific tenant. Tenant string `json:"tenant,omitempty"` + // UserClaim: Optional. Claim in the AzureAD ID Token that holds the + // user details. + UserClaim string `json:"userClaim,omitempty"` + // ForceSendFields is a list of field names (e.g. "ClientId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -3343,6 +3350,9 @@ type MembershipBinding struct { // Fleet. Fleet bool `json:"fleet,omitempty"` + // Labels: Optional. Labels for this MembershipBinding. + Labels map[string]string `json:"labels,omitempty"` + // Name: The resource name for the membershipbinding itself // `projects/{project}/locations/{location}/memberships/{membership}/bind // ings/{membershipbinding}` @@ -3670,6 +3680,9 @@ type Namespace struct { // DeleteTime: Output only. When the namespace was deleted. DeleteTime string `json:"deleteTime,omitempty"` + // Labels: Optional. Labels for this Namespace. + Labels map[string]string `json:"labels,omitempty"` + // Name: The resource name for the namespace // `projects/{project}/locations/{location}/namespaces/{namespace}` Name string `json:"name,omitempty"` @@ -4078,6 +4091,9 @@ type PolicyControllerHubConfig struct { // "INSTALL_SPEC_SUSPENDED" - Request to suspend Policy Controller // i.e. its webhooks. If Policy Controller is not installed, it will be // installed but suspended. + // "INSTALL_SPEC_DETACHED" - Request to stop all reconciliation + // actions by PoCo Hub controller. This is a breakglass mechanism to + // stop PoCo Hub from affecting cluster resources. InstallSpec string `json:"installSpec,omitempty"` // LogDeniesEnabled: Logs all denies and dry run failures. @@ -4209,6 +4225,9 @@ type PolicyControllerMembershipState struct { // "SUSPENDED" - Policy Controller (PC) is installed but suspended. // This means that the policies are not enforced, but violations are // still recorded (through audit). + // "DETACHED" - PoCo Hub is not taking any action to reconcile cluster + // objects. Changes to those objects will not be overwritten by PoCo + // Hub. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "ComponentStates") to @@ -4318,6 +4337,9 @@ type PolicyControllerOnClusterState struct { // "SUSPENDED" - Policy Controller (PC) is installed but suspended. // This means that the policies are not enforced, but violations are // still recorded (through audit). + // "DETACHED" - PoCo Hub is not taking any action to reconcile cluster + // objects. Changes to those objects will not be overwritten by PoCo + // Hub. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "Details") to @@ -4617,6 +4639,9 @@ type RBACRoleBinding struct { // Group: group is the group, as seen by the kubernetes cluster. Group string `json:"group,omitempty"` + // Labels: Optional. Labels for this RBACRolebinding. + Labels map[string]string `json:"labels,omitempty"` + // Name: The resource name for the rbacrolebinding // `projects/{project}/locations/{location}/namespaces/{namespace}/rbacro // lebindings/{rbacrolebinding}` or @@ -4755,6 +4780,9 @@ type Scope struct { // DeleteTime: Output only. When the scope was deleted. DeleteTime string `json:"deleteTime,omitempty"` + // Labels: Optional. Labels for this Scope. + Labels map[string]string `json:"labels,omitempty"` + // Name: The resource name for the scope // `projects/{project}/locations/{location}/scopes/{scope}` Name string `json:"name,omitempty"` diff --git a/lifesciences/v2beta/lifesciences-api.json b/lifesciences/v2beta/lifesciences-api.json index 1b6e96157ee..45257493590 100644 --- a/lifesciences/v2beta/lifesciences-api.json +++ b/lifesciences/v2beta/lifesciences-api.json @@ -312,7 +312,7 @@ } } }, - "revision": "20230504", + "revision": "20230707", "rootUrl": "https://lifesciences.googleapis.com/", "schemas": { "Accelerator": { @@ -1128,6 +1128,7 @@ "description": "The VM network configuration." }, "nvidiaDriverVersion": { + "deprecated": true, "description": "The NVIDIA driver version to use when attaching an NVIDIA GPU accelerator. The version specified here must be compatible with the GPU libraries contained in the container being executed, and must be one of the drivers hosted in the `nvidia-drivers-us-public` bucket on Google Cloud Storage.", "type": "string" }, diff --git a/migrationcenter/v1alpha1/migrationcenter-api.json b/migrationcenter/v1alpha1/migrationcenter-api.json index df00579a9e9..986eb7aa47d 100644 --- a/migrationcenter/v1alpha1/migrationcenter-api.json +++ b/migrationcenter/v1alpha1/migrationcenter-api.json @@ -2102,7 +2102,7 @@ } } }, - "revision": "20230630", + "revision": "20230707", "rootUrl": "https://migrationcenter.googleapis.com/", "schemas": { "AddAssetsToGroupRequest": { @@ -2398,7 +2398,7 @@ "type": "object" }, "performanceSamples": { - "description": "Asset performance data samples. Samples that are older than 40 days are ignored.", + "description": "Asset performance data samples. Samples that are from more than 40 days ago or after tomorrow are ignored.", "items": { "$ref": "PerformanceSample" }, @@ -4448,7 +4448,7 @@ "description": "Network usage sample." }, "sampleTime": { - "description": "Required. Time the sample was collected.", + "description": "Time the sample was collected.", "format": "google-datetime", "type": "string" } diff --git a/migrationcenter/v1alpha1/migrationcenter-gen.go b/migrationcenter/v1alpha1/migrationcenter-gen.go index e22c613bd1a..a3346dfb145 100644 --- a/migrationcenter/v1alpha1/migrationcenter-gen.go +++ b/migrationcenter/v1alpha1/migrationcenter-gen.go @@ -795,7 +795,7 @@ type AssetFrame struct { Labels map[string]string `json:"labels,omitempty"` // PerformanceSamples: Asset performance data samples. Samples that are - // older than 40 days are ignored. + // from more than 40 days ago or after tomorrow are ignored. PerformanceSamples []*PerformanceSample `json:"performanceSamples,omitempty"` // ReportTime: The time the data was reported. @@ -4083,7 +4083,7 @@ type PerformanceSample struct { // Network: Network usage sample. Network *NetworkUsageSample `json:"network,omitempty"` - // SampleTime: Required. Time the sample was collected. + // SampleTime: Time the sample was collected. SampleTime string `json:"sampleTime,omitempty"` // ForceSendFields is a list of field names (e.g. "Cpu") to diff --git a/networkmanagement/v1/networkmanagement-api.json b/networkmanagement/v1/networkmanagement-api.json index 0bfd0dc672c..9164946e2dd 100644 --- a/networkmanagement/v1/networkmanagement-api.json +++ b/networkmanagement/v1/networkmanagement-api.json @@ -591,7 +591,7 @@ } } }, - "revision": "20230621", + "revision": "20230705", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -619,7 +619,9 @@ "UNSUPPORTED", "MISMATCHED_IP_VERSION", "GKE_KONNECTIVITY_PROXY_UNSUPPORTED", - "RESOURCE_CONFIG_NOT_FOUND" + "RESOURCE_CONFIG_NOT_FOUND", + "GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT", + "SOURCE_PSC_CLOUD_SQL_UNSUPPORTED" ], "enumDescriptions": [ "Cause is unspecified.", @@ -640,7 +642,9 @@ "Aborted because the test scenario is not supported.", "Aborted because the source and destination resources have no common IP version.", "Aborted because the connection between the control plane and the node of the source cluster is initiated by the node and managed by the Konnectivity proxy.", - "Aborted because expected resource configuration was missing." + "Aborted because expected resource configuration was missing.", + "Aborted because a PSC endpoint selection for the Google-managed service is ambiguous (several PSC endpoints satisfy test input).", + "Aborted because tests with a PSC-based Cloud SQL instance as a source are not supported." ], "type": "string" }, @@ -1093,6 +1097,10 @@ "description": "A [Cloud SQL](https://cloud.google.com/sql) instance URI.", "type": "string" }, + "forwardingRule": { + "description": "A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules are also used for protocol forwarding, Private Service Connect and other network services to provide forwarding information in the control plane. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id}", + "type": "string" + }, "gkeMasterCluster": { "description": "A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).", "type": "string" diff --git a/networkmanagement/v1/networkmanagement-gen.go b/networkmanagement/v1/networkmanagement-gen.go index de9d5f1c57d..dd87e0c089d 100644 --- a/networkmanagement/v1/networkmanagement-gen.go +++ b/networkmanagement/v1/networkmanagement-gen.go @@ -246,6 +246,11 @@ type AbortInfo struct { // proxy. // "RESOURCE_CONFIG_NOT_FOUND" - Aborted because expected resource // configuration was missing. + // "GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT" - Aborted because a + // PSC endpoint selection for the Google-managed service is ambiguous + // (several PSC endpoints satisfy test input). + // "SOURCE_PSC_CLOUD_SQL_UNSUPPORTED" - Aborted because tests with a + // PSC-based Cloud SQL instance as a source are not supported. Cause string `json:"cause,omitempty"` // ProjectsMissingPermission: List of project IDs that the user has @@ -1030,6 +1035,15 @@ type Endpoint struct { // URI. CloudSqlInstance string `json:"cloudSqlInstance,omitempty"` + // ForwardingRule: A forwarding rule and its corresponding IP address + // represent the frontend configuration of a Google Cloud load balancer. + // Forwarding rules are also used for protocol forwarding, Private + // Service Connect and other network services to provide forwarding + // information in the control plane. Format: + // projects/{project}/global/forwardingRules/{id} or + // projects/{project}/regions/{region}/forwardingRules/{id} + ForwardingRule string `json:"forwardingRule,omitempty"` + // GkeMasterCluster: A cluster URI for Google Kubernetes Engine master // (https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). GkeMasterCluster string `json:"gkeMasterCluster,omitempty"` diff --git a/networkmanagement/v1beta1/networkmanagement-api.json b/networkmanagement/v1beta1/networkmanagement-api.json index dfaac47fd0e..7747ceb295b 100644 --- a/networkmanagement/v1beta1/networkmanagement-api.json +++ b/networkmanagement/v1beta1/networkmanagement-api.json @@ -591,7 +591,7 @@ } } }, - "revision": "20230621", + "revision": "20230705", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -619,7 +619,9 @@ "UNSUPPORTED", "MISMATCHED_IP_VERSION", "GKE_KONNECTIVITY_PROXY_UNSUPPORTED", - "RESOURCE_CONFIG_NOT_FOUND" + "RESOURCE_CONFIG_NOT_FOUND", + "GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT", + "SOURCE_PSC_CLOUD_SQL_UNSUPPORTED" ], "enumDescriptions": [ "Cause is unspecified.", @@ -640,7 +642,9 @@ "Aborted because the test scenario is not supported.", "Aborted because the source and destination resources have no common IP version.", "Aborted because the connection between the control plane and the node of the source cluster is initiated by the node and managed by the Konnectivity proxy.", - "Aborted because expected resource configuration was missing." + "Aborted because expected resource configuration was missing.", + "Aborted because a PSC endpoint selection for the Google-managed service is ambiguous (several PSC endpoints satisfy test input).", + "Aborted because tests with a PSC-based Cloud SQL instance as a source are not supported." ], "type": "string" }, @@ -1117,7 +1121,7 @@ "type": "string" }, "forwardingRule": { - "description": "Forwarding rule URI. Forwarding rules are frontends for load balancers, PSC endpoints and Protocol Forwarding. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id}", + "description": "A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules are also used for protocol forwarding, Private Service Connect and other network services to provide forwarding information in the control plane. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id}", "type": "string" }, "forwardingRuleTarget": { @@ -1305,7 +1309,8 @@ "VPC_FIREWALL_RULE", "IMPLIED_VPC_FIREWALL_RULE", "SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE", - "NETWORK_FIREWALL_POLICY_RULE" + "NETWORK_FIREWALL_POLICY_RULE", + "NETWORK_REGIONAL_FIREWALL_POLICY_RULE" ], "enumDescriptions": [ "Unspecified type.", @@ -1313,7 +1318,8 @@ "VPC firewall rule. For details, see [VPC firewall rules overview](https://cloud.google.com/vpc/docs/firewalls).", "Implied VPC firewall rule. For details, see [Implied rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).", "Implicit firewall rules that are managed by serverless VPC access to allow ingress access. They are not visible in the Google Cloud console. For details, see [VPC connector's implicit rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).", - "Global network firewall policy rule. For details, see [Network firewall policies](https://cloud.google.com/vpc/docs/network-firewall-policies)." + "Global network firewall policy rule. For details, see [Network firewall policies](https://cloud.google.com/vpc/docs/network-firewall-policies).", + "Regional network firewall policy rule. For details, see [Regional network firewall policies](https://cloud.google.com/firewall/docs/regional-firewall-policies)." ], "type": "string" }, diff --git a/networkmanagement/v1beta1/networkmanagement-gen.go b/networkmanagement/v1beta1/networkmanagement-gen.go index 6750eefc396..d0abc6fae30 100644 --- a/networkmanagement/v1beta1/networkmanagement-gen.go +++ b/networkmanagement/v1beta1/networkmanagement-gen.go @@ -246,6 +246,11 @@ type AbortInfo struct { // proxy. // "RESOURCE_CONFIG_NOT_FOUND" - Aborted because expected resource // configuration was missing. + // "GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT" - Aborted because a + // PSC endpoint selection for the Google-managed service is ambiguous + // (several PSC endpoints satisfy test input). + // "SOURCE_PSC_CLOUD_SQL_UNSUPPORTED" - Aborted because tests with a + // PSC-based Cloud SQL instance as a source are not supported. Cause string `json:"cause,omitempty"` // ProjectsMissingPermission: List of project IDs that the user has @@ -1070,8 +1075,11 @@ type Endpoint struct { // URI. CloudSqlInstance string `json:"cloudSqlInstance,omitempty"` - // ForwardingRule: Forwarding rule URI. Forwarding rules are frontends - // for load balancers, PSC endpoints and Protocol Forwarding. Format: + // ForwardingRule: A forwarding rule and its corresponding IP address + // represent the frontend configuration of a Google Cloud load balancer. + // Forwarding rules are also used for protocol forwarding, Private + // Service Connect and other network services to provide forwarding + // information in the control plane. Format: // projects/{project}/global/forwardingRules/{id} or // projects/{project}/regions/{region}/forwardingRules/{id} ForwardingRule string `json:"forwardingRule,omitempty"` @@ -1340,6 +1348,10 @@ type FirewallInfo struct { // rule. For details, see [Network firewall // policies](https://cloud.google.com/vpc/docs/network-firewall-policies) // . + // "NETWORK_REGIONAL_FIREWALL_POLICY_RULE" - Regional network firewall + // policy rule. For details, see [Regional network firewall + // policies](https://cloud.google.com/firewall/docs/regional-firewall-pol + // icies). FirewallRuleType string `json:"firewallRuleType,omitempty"` // NetworkUri: The URI of the VPC network that the firewall rule is diff --git a/pubsublite/v1/pubsublite-api.json b/pubsublite/v1/pubsublite-api.json index 9c6c97aa8c4..67ff9a173fe 100644 --- a/pubsublite/v1/pubsublite-api.json +++ b/pubsublite/v1/pubsublite-api.json @@ -1040,7 +1040,7 @@ } } }, - "revision": "20230304", + "revision": "20230707", "rootUrl": "https://pubsublite.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -1476,6 +1476,7 @@ "type": "string" }, "scale": { + "deprecated": true, "description": "DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to `scale` times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].", "format": "int32", "type": "integer" diff --git a/tpu/v2/tpu-api.json b/tpu/v2/tpu-api.json index 527340dabc4..cc6d24b6199 100644 --- a/tpu/v2/tpu-api.json +++ b/tpu/v2/tpu-api.json @@ -721,7 +721,7 @@ } } }, - "revision": "20230621", + "revision": "20230707", "rootUrl": "https://tpu.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -767,7 +767,7 @@ "type": "string" }, "type": { - "description": "the accelerator type.", + "description": "The accelerator type.", "type": "string" } }, @@ -1110,7 +1110,7 @@ "description": "The AccleratorConfig for the TPU Node." }, "acceleratorType": { - "description": "Required. The type of hardware accelerators associated with this node.", + "description": "Optional. The type of hardware accelerators associated with this node.", "type": "string" }, "apiVersion": { @@ -1196,6 +1196,11 @@ "description": "Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script", "type": "object" }, + "multisliceNode": { + "description": "Output only. Whether the Node belongs to a Multislice group.", + "readOnly": true, + "type": "boolean" + }, "name": { "description": "Output only. Immutable. The name of the TPU.", "readOnly": true, @@ -1213,6 +1218,11 @@ "readOnly": true, "type": "array" }, + "queuedResource": { + "description": "Output only. The qualified name of the QueuedResource that requested this Node.", + "readOnly": true, + "type": "string" + }, "runtimeVersion": { "description": "Required. The runtime version running in the Node.", "type": "string" diff --git a/tpu/v2/tpu-gen.go b/tpu/v2/tpu-gen.go index 826c50dcf46..3f143bf9ae2 100644 --- a/tpu/v2/tpu-gen.go +++ b/tpu/v2/tpu-gen.go @@ -253,7 +253,7 @@ type AcceleratorType struct { // Name: The resource name. Name string `json:"name,omitempty"` - // Type: the accelerator type. + // Type: The accelerator type. Type string `json:"type,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -885,7 +885,7 @@ type Node struct { // AcceleratorConfig: The AccleratorConfig for the TPU Node. AcceleratorConfig *AcceleratorConfig `json:"acceleratorConfig,omitempty"` - // AcceleratorType: Required. The type of hardware accelerators + // AcceleratorType: Optional. The type of hardware accelerators // associated with this node. AcceleratorType string `json:"acceleratorType,omitempty"` @@ -945,6 +945,10 @@ type Node struct { // startup-script and shutdown-script Metadata map[string]string `json:"metadata,omitempty"` + // MultisliceNode: Output only. Whether the Node belongs to a Multislice + // group. + MultisliceNode bool `json:"multisliceNode,omitempty"` + // Name: Output only. Immutable. The name of the TPU. Name string `json:"name,omitempty"` @@ -956,6 +960,10 @@ type Node struct { // clients of the node reach out to the 0th entry in this map first. NetworkEndpoints []*NetworkEndpoint `json:"networkEndpoints,omitempty"` + // QueuedResource: Output only. The qualified name of the QueuedResource + // that requested this Node. + QueuedResource string `json:"queuedResource,omitempty"` + // RuntimeVersion: Required. The runtime version running in the Node. RuntimeVersion string `json:"runtimeVersion,omitempty"` diff --git a/tpu/v2alpha1/tpu-api.json b/tpu/v2alpha1/tpu-api.json index 426240c1ff1..3c9c69ad838 100644 --- a/tpu/v2alpha1/tpu-api.json +++ b/tpu/v2alpha1/tpu-api.json @@ -897,7 +897,7 @@ } } }, - "revision": "20230508", + "revision": "20230707", "rootUrl": "https://tpu.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -1676,7 +1676,7 @@ }, "guaranteed": { "$ref": "Guaranteed", - "description": "The Guaranteed tier" + "description": "The Guaranteed tier." }, "name": { "description": "Output only. Immutable. The name of the QueuedResource.", @@ -1691,6 +1691,10 @@ "description": "Name of the reservation in which the resource should be provisioned. Format: projects/{project}/locations/{zone}/reservations/{reservation}", "type": "string" }, + "spot": { + "$ref": "Spot", + "description": "Optional. The Spot tier." + }, "state": { "$ref": "QueuedResourceState", "description": "Output only. State of the QueuedResource request.", @@ -1883,6 +1887,12 @@ }, "type": "object" }, + "Spot": { + "description": "Spot tier definition.", + "id": "Spot", + "properties": {}, + "type": "object" + }, "StartNodeRequest": { "description": "Request for StartNode.", "id": "StartNodeRequest", diff --git a/tpu/v2alpha1/tpu-gen.go b/tpu/v2alpha1/tpu-gen.go index 954c5aa27fa..f905f8c2066 100644 --- a/tpu/v2alpha1/tpu-gen.go +++ b/tpu/v2alpha1/tpu-gen.go @@ -1368,7 +1368,7 @@ type QueuedResource struct { // BestEffort: The BestEffort tier. BestEffort *BestEffort `json:"bestEffort,omitempty"` - // Guaranteed: The Guaranteed tier + // Guaranteed: The Guaranteed tier. Guaranteed *Guaranteed `json:"guaranteed,omitempty"` // Name: Output only. Immutable. The name of the QueuedResource. @@ -1382,6 +1382,9 @@ type QueuedResource struct { // projects/{project}/locations/{zone}/reservations/{reservation} ReservationName string `json:"reservationName,omitempty"` + // Spot: Optional. The Spot tier. + Spot *Spot `json:"spot,omitempty"` + // State: Output only. State of the QueuedResource request. State *QueuedResourceState `json:"state,omitempty"` @@ -1729,6 +1732,10 @@ func (s *SimulateMaintenanceEventRequest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Spot: Spot tier definition. +type Spot struct { +} + // StartNodeRequest: Request for StartNode. type StartNodeRequest struct { } diff --git a/workflowexecutions/v1/workflowexecutions-api.json b/workflowexecutions/v1/workflowexecutions-api.json index a9547534c2b..6b8347af7b4 100644 --- a/workflowexecutions/v1/workflowexecutions-api.json +++ b/workflowexecutions/v1/workflowexecutions-api.json @@ -309,7 +309,7 @@ } } }, - "revision": "20230607", + "revision": "20230710", "rootUrl": "https://workflowexecutions.googleapis.com/", "schemas": { "CancelExecutionRequest": { @@ -488,24 +488,24 @@ "additionalProperties": { "type": "string" }, - "description": "Attributes for this message. If this field is empty, the message must contain non-empty data. This can be used to filter messages on the subscription.", + "description": "Optional. Attributes for this message. If this field is empty, the message must contain non-empty data. This can be used to filter messages on the subscription.", "type": "object" }, "data": { - "description": "The message data field. If this field is empty, the message must contain at least one attribute.", + "description": "Optional. The message data field. If this field is empty, the message must contain at least one attribute.", "format": "byte", "type": "string" }, "messageId": { - "description": "ID of this message, assigned by the server when the message is published. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a `PubsubMessage` via a `Pull` call or a push delivery. It must not be populated by the publisher in a `Publish` call.", + "description": "Optional. ID of this message, assigned by the server when the message is published. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a `PubsubMessage` via a `Pull` call or a push delivery. It must not be populated by the publisher in a `Publish` call.", "type": "string" }, "orderingKey": { - "description": "If non-empty, identifies related messages for which publish order should be respected. If a `Subscription` has `enable_message_ordering` set to `true`, messages published with the same non-empty `ordering_key` value will be delivered to subscribers in the order in which they are received by the Pub/Sub system. All `PubsubMessage`s published in a given `PublishRequest` must specify the same `ordering_key` value. For more information, see [ordering messages](https://cloud.google.com/pubsub/docs/ordering).", + "description": "Optional. If non-empty, identifies related messages for which publish order should be respected. If a `Subscription` has `enable_message_ordering` set to `true`, messages published with the same non-empty `ordering_key` value will be delivered to subscribers in the order in which they are received by the Pub/Sub system. All `PubsubMessage`s published in a given `PublishRequest` must specify the same `ordering_key` value. For more information, see [ordering messages](https://cloud.google.com/pubsub/docs/ordering).", "type": "string" }, "publishTime": { - "description": "The time at which the message was published, populated by the server when it receives the `Publish` call. It must not be populated by the publisher in a `Publish` call.", + "description": "Optional. The time at which the message was published, populated by the server when it receives the `Publish` call. It must not be populated by the publisher in a `Publish` call.", "format": "google-datetime", "type": "string" } diff --git a/workflowexecutions/v1/workflowexecutions-gen.go b/workflowexecutions/v1/workflowexecutions-gen.go index cc2eaed21f4..550c0cb9e31 100644 --- a/workflowexecutions/v1/workflowexecutions-gen.go +++ b/workflowexecutions/v1/workflowexecutions-gen.go @@ -415,24 +415,24 @@ func (s *Position) MarshalJSON() ([]byte, error) { // (https://cloud.google.com/pubsub/quotas) for more information about // message limits. type PubsubMessage struct { - // Attributes: Attributes for this message. If this field is empty, the - // message must contain non-empty data. This can be used to filter - // messages on the subscription. + // Attributes: Optional. Attributes for this message. If this field is + // empty, the message must contain non-empty data. This can be used to + // filter messages on the subscription. Attributes map[string]string `json:"attributes,omitempty"` - // Data: The message data field. If this field is empty, the message - // must contain at least one attribute. + // Data: Optional. The message data field. If this field is empty, the + // message must contain at least one attribute. Data string `json:"data,omitempty"` - // MessageId: ID of this message, assigned by the server when the - // message is published. Guaranteed to be unique within the topic. This - // value may be read by a subscriber that receives a `PubsubMessage` via - // a `Pull` call or a push delivery. It must not be populated by the - // publisher in a `Publish` call. + // MessageId: Optional. ID of this message, assigned by the server when + // the message is published. Guaranteed to be unique within the topic. + // This value may be read by a subscriber that receives a + // `PubsubMessage` via a `Pull` call or a push delivery. It must not be + // populated by the publisher in a `Publish` call. MessageId string `json:"messageId,omitempty"` - // OrderingKey: If non-empty, identifies related messages for which - // publish order should be respected. If a `Subscription` has + // OrderingKey: Optional. If non-empty, identifies related messages for + // which publish order should be respected. If a `Subscription` has // `enable_message_ordering` set to `true`, messages published with the // same non-empty `ordering_key` value will be delivered to subscribers // in the order in which they are received by the Pub/Sub system. All @@ -441,9 +441,9 @@ type PubsubMessage struct { // messages (https://cloud.google.com/pubsub/docs/ordering). OrderingKey string `json:"orderingKey,omitempty"` - // PublishTime: The time at which the message was published, populated - // by the server when it receives the `Publish` call. It must not be - // populated by the publisher in a `Publish` call. + // PublishTime: Optional. The time at which the message was published, + // populated by the server when it receives the `Publish` call. It must + // not be populated by the publisher in a `Publish` call. PublishTime string `json:"publishTime,omitempty"` // ForceSendFields is a list of field names (e.g. "Attributes") to