google-api-client 0.45.1 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +61 -0
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +25 -16
- data/generated/google/apis/accessapproval_v1/service.rb +27 -27
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +5 -5
- data/generated/google/apis/apigee_v1/service.rb +21 -19
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +38 -18
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +78 -64
- data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +3 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +26 -11
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +2 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +513 -131
- data/generated/google/apis/compute_alpha/representations.rb +124 -8
- data/generated/google/apis/compute_alpha/service.rb +1685 -762
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +491 -83
- data/generated/google/apis/compute_beta/representations.rb +96 -1
- data/generated/google/apis/compute_beta/service.rb +802 -133
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +308 -45
- data/generated/google/apis/compute_v1/representations.rb +54 -1
- data/generated/google/apis/compute_v1/service.rb +736 -130
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +2 -1
- data/generated/google/apis/datafusion_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +28 -2
- data/generated/google/apis/dataproc_v1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +28 -2
- data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +87 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +45 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +94 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +45 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +87 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +45 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +798 -0
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +798 -0
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +7 -0
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +7 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +7 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -7
- data/generated/google/apis/monitoring_v3/service.rb +5 -5
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1/service.rb +4 -4
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +5 -5
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +36 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +174 -84
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -10
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -2
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +224 -13
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +128 -3
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -15
- data/generated/google/apis/apigateway_v1alpha1.rb +0 -34
- data/generated/google/apis/apigateway_v1alpha1/classes.rb +0 -633
- data/generated/google/apis/apigateway_v1alpha1/representations.rb +0 -250
- data/generated/google/apis/apigateway_v1alpha1/service.rb +0 -623
- data/generated/google/apis/apigateway_v1alpha2.rb +0 -34
- data/generated/google/apis/apigateway_v1alpha2/classes.rb +0 -633
- data/generated/google/apis/apigateway_v1alpha2/representations.rb +0 -250
- data/generated/google/apis/apigateway_v1alpha2/service.rb +0 -623
- data/generated/google/apis/appsactivity_v1.rb +0 -34
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
|
27
27
|
module ContentV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200922'
|
|
30
30
|
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
|
@@ -383,7 +383,8 @@ module Google
|
|
|
383
383
|
# @return [String]
|
|
384
384
|
attr_accessor :country
|
|
385
385
|
|
|
386
|
-
# The destination the issue applies to.
|
|
386
|
+
# The destination the issue applies to. If this field is empty then the issue
|
|
387
|
+
# applies to all available destinations.
|
|
387
388
|
# Corresponds to the JSON property `destination`
|
|
388
389
|
# @return [String]
|
|
389
390
|
attr_accessor :destination
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
|
27
27
|
module ContentV2_1
|
|
28
28
|
VERSION = 'V2_1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200922'
|
|
30
30
|
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
|
@@ -390,7 +390,8 @@ module Google
|
|
|
390
390
|
# @return [String]
|
|
391
391
|
attr_accessor :country
|
|
392
392
|
|
|
393
|
-
# The destination the issue applies to.
|
|
393
|
+
# The destination the issue applies to. If this field is empty then the issue
|
|
394
|
+
# applies to all available destinations.
|
|
394
395
|
# Corresponds to the JSON property `destination`
|
|
395
396
|
# @return [String]
|
|
396
397
|
attr_accessor :destination
|
|
@@ -31,7 +31,7 @@ module Google
|
|
|
31
31
|
# @see https://cloud.google.com/data-fusion/docs
|
|
32
32
|
module DatafusionV1
|
|
33
33
|
VERSION = 'V1'
|
|
34
|
-
REVISION = '
|
|
34
|
+
REVISION = '20200928'
|
|
35
35
|
|
|
36
36
|
# View and manage your data across Google Cloud Platform services
|
|
37
37
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/dataproc/
|
|
26
26
|
module DataprocV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200925'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -419,7 +419,7 @@ module Google
|
|
|
419
419
|
attr_accessor :endpoint_config
|
|
420
420
|
|
|
421
421
|
# Common config settings for resources of Compute Engine cluster instances,
|
|
422
|
-
# applicable to all instances in the cluster.
|
|
422
|
+
# applicable to all instances in the cluster.
|
|
423
423
|
# Corresponds to the JSON property `gceClusterConfig`
|
|
424
424
|
# @return [Google::Apis::DataprocV1::GceClusterConfig]
|
|
425
425
|
attr_accessor :gce_cluster_config
|
|
@@ -914,7 +914,7 @@ module Google
|
|
|
914
914
|
end
|
|
915
915
|
|
|
916
916
|
# Common config settings for resources of Compute Engine cluster instances,
|
|
917
|
-
# applicable to all instances in the cluster.
|
|
917
|
+
# applicable to all instances in the cluster.
|
|
918
918
|
class GceClusterConfig
|
|
919
919
|
include Google::Apis::Core::Hashable
|
|
920
920
|
|
|
@@ -948,6 +948,11 @@ module Google
|
|
|
948
948
|
# @return [String]
|
|
949
949
|
attr_accessor :network_uri
|
|
950
950
|
|
|
951
|
+
# Node Group Affinity for clusters using sole-tenant node groups.
|
|
952
|
+
# Corresponds to the JSON property `nodeGroupAffinity`
|
|
953
|
+
# @return [Google::Apis::DataprocV1::NodeGroupAffinity]
|
|
954
|
+
attr_accessor :node_group_affinity
|
|
955
|
+
|
|
951
956
|
# Optional. The type of IPv6 access for a cluster.
|
|
952
957
|
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
|
953
958
|
# @return [String]
|
|
@@ -1017,6 +1022,7 @@ module Google
|
|
|
1017
1022
|
@internal_ip_only = args[:internal_ip_only] if args.key?(:internal_ip_only)
|
|
1018
1023
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1019
1024
|
@network_uri = args[:network_uri] if args.key?(:network_uri)
|
|
1025
|
+
@node_group_affinity = args[:node_group_affinity] if args.key?(:node_group_affinity)
|
|
1020
1026
|
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
|
|
1021
1027
|
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
|
1022
1028
|
@service_account = args[:service_account] if args.key?(:service_account)
|
|
@@ -2116,6 +2122,26 @@ module Google
|
|
|
2116
2122
|
end
|
|
2117
2123
|
end
|
|
2118
2124
|
|
|
2125
|
+
# Node Group Affinity for clusters using sole-tenant node groups.
|
|
2126
|
+
class NodeGroupAffinity
|
|
2127
|
+
include Google::Apis::Core::Hashable
|
|
2128
|
+
|
|
2129
|
+
# Required. The name of a single node group (https://cloud.google.com/compute/
|
|
2130
|
+
# docs/reference/rest/v1/nodeGroups) a cluster will be created on.
|
|
2131
|
+
# Corresponds to the JSON property `nodeGroupUri`
|
|
2132
|
+
# @return [String]
|
|
2133
|
+
attr_accessor :node_group_uri
|
|
2134
|
+
|
|
2135
|
+
def initialize(**args)
|
|
2136
|
+
update!(**args)
|
|
2137
|
+
end
|
|
2138
|
+
|
|
2139
|
+
# Update properties of this object
|
|
2140
|
+
def update!(**args)
|
|
2141
|
+
@node_group_uri = args[:node_group_uri] if args.key?(:node_group_uri)
|
|
2142
|
+
end
|
|
2143
|
+
end
|
|
2144
|
+
|
|
2119
2145
|
# Specifies an executable to run on a fully configured node and a timeout period
|
|
2120
2146
|
# for executable completion.
|
|
2121
2147
|
class NodeInitializationAction
|
|
@@ -304,6 +304,12 @@ module Google
|
|
|
304
304
|
include Google::Apis::Core::JsonObjectSupport
|
|
305
305
|
end
|
|
306
306
|
|
|
307
|
+
class NodeGroupAffinity
|
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
309
|
+
|
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
311
|
+
end
|
|
312
|
+
|
|
307
313
|
class NodeInitializationAction
|
|
308
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
309
315
|
|
|
@@ -712,6 +718,8 @@ module Google
|
|
|
712
718
|
property :internal_ip_only, as: 'internalIpOnly'
|
|
713
719
|
hash :metadata, as: 'metadata'
|
|
714
720
|
property :network_uri, as: 'networkUri'
|
|
721
|
+
property :node_group_affinity, as: 'nodeGroupAffinity', class: Google::Apis::DataprocV1::NodeGroupAffinity, decorator: Google::Apis::DataprocV1::NodeGroupAffinity::Representation
|
|
722
|
+
|
|
715
723
|
property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
|
|
716
724
|
property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::DataprocV1::ReservationAffinity, decorator: Google::Apis::DataprocV1::ReservationAffinity::Representation
|
|
717
725
|
|
|
@@ -997,6 +1005,13 @@ module Google
|
|
|
997
1005
|
end
|
|
998
1006
|
end
|
|
999
1007
|
|
|
1008
|
+
class NodeGroupAffinity
|
|
1009
|
+
# @private
|
|
1010
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1011
|
+
property :node_group_uri, as: 'nodeGroupUri'
|
|
1012
|
+
end
|
|
1013
|
+
end
|
|
1014
|
+
|
|
1000
1015
|
class NodeInitializationAction
|
|
1001
1016
|
# @private
|
|
1002
1017
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/dataproc/
|
|
26
26
|
module DataprocV1beta2
|
|
27
27
|
VERSION = 'V1beta2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200925'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -417,7 +417,7 @@ module Google
|
|
|
417
417
|
attr_accessor :endpoint_config
|
|
418
418
|
|
|
419
419
|
# Common config settings for resources of Compute Engine cluster instances,
|
|
420
|
-
# applicable to all instances in the cluster.
|
|
420
|
+
# applicable to all instances in the cluster.
|
|
421
421
|
# Corresponds to the JSON property `gceClusterConfig`
|
|
422
422
|
# @return [Google::Apis::DataprocV1beta2::GceClusterConfig]
|
|
423
423
|
attr_accessor :gce_cluster_config
|
|
@@ -924,7 +924,7 @@ module Google
|
|
|
924
924
|
end
|
|
925
925
|
|
|
926
926
|
# Common config settings for resources of Compute Engine cluster instances,
|
|
927
|
-
# applicable to all instances in the cluster.
|
|
927
|
+
# applicable to all instances in the cluster.
|
|
928
928
|
class GceClusterConfig
|
|
929
929
|
include Google::Apis::Core::Hashable
|
|
930
930
|
|
|
@@ -958,6 +958,11 @@ module Google
|
|
|
958
958
|
# @return [String]
|
|
959
959
|
attr_accessor :network_uri
|
|
960
960
|
|
|
961
|
+
# Node Group Affinity for clusters using sole-tenant node groups.
|
|
962
|
+
# Corresponds to the JSON property `nodeGroupAffinity`
|
|
963
|
+
# @return [Google::Apis::DataprocV1beta2::NodeGroupAffinity]
|
|
964
|
+
attr_accessor :node_group_affinity
|
|
965
|
+
|
|
961
966
|
# Optional. The type of IPv6 access for a cluster.
|
|
962
967
|
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
|
963
968
|
# @return [String]
|
|
@@ -1027,6 +1032,7 @@ module Google
|
|
|
1027
1032
|
@internal_ip_only = args[:internal_ip_only] if args.key?(:internal_ip_only)
|
|
1028
1033
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1029
1034
|
@network_uri = args[:network_uri] if args.key?(:network_uri)
|
|
1035
|
+
@node_group_affinity = args[:node_group_affinity] if args.key?(:node_group_affinity)
|
|
1030
1036
|
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
|
|
1031
1037
|
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
|
1032
1038
|
@service_account = args[:service_account] if args.key?(:service_account)
|
|
@@ -2207,6 +2213,26 @@ module Google
|
|
|
2207
2213
|
end
|
|
2208
2214
|
end
|
|
2209
2215
|
|
|
2216
|
+
# Node Group Affinity for clusters using sole-tenant node groups.
|
|
2217
|
+
class NodeGroupAffinity
|
|
2218
|
+
include Google::Apis::Core::Hashable
|
|
2219
|
+
|
|
2220
|
+
# Required. The name of a single node group (https://cloud.google.com/compute/
|
|
2221
|
+
# docs/reference/rest/v1/nodeGroups) a cluster will be created on.
|
|
2222
|
+
# Corresponds to the JSON property `nodeGroupUri`
|
|
2223
|
+
# @return [String]
|
|
2224
|
+
attr_accessor :node_group_uri
|
|
2225
|
+
|
|
2226
|
+
def initialize(**args)
|
|
2227
|
+
update!(**args)
|
|
2228
|
+
end
|
|
2229
|
+
|
|
2230
|
+
# Update properties of this object
|
|
2231
|
+
def update!(**args)
|
|
2232
|
+
@node_group_uri = args[:node_group_uri] if args.key?(:node_group_uri)
|
|
2233
|
+
end
|
|
2234
|
+
end
|
|
2235
|
+
|
|
2210
2236
|
# Specifies an executable to run on a fully configured node and a timeout period
|
|
2211
2237
|
# for executable completion.
|
|
2212
2238
|
class NodeInitializationAction
|
|
@@ -322,6 +322,12 @@ module Google
|
|
|
322
322
|
include Google::Apis::Core::JsonObjectSupport
|
|
323
323
|
end
|
|
324
324
|
|
|
325
|
+
class NodeGroupAffinity
|
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
|
+
|
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
329
|
+
end
|
|
330
|
+
|
|
325
331
|
class NodeInitializationAction
|
|
326
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
333
|
|
|
@@ -746,6 +752,8 @@ module Google
|
|
|
746
752
|
property :internal_ip_only, as: 'internalIpOnly'
|
|
747
753
|
hash :metadata, as: 'metadata'
|
|
748
754
|
property :network_uri, as: 'networkUri'
|
|
755
|
+
property :node_group_affinity, as: 'nodeGroupAffinity', class: Google::Apis::DataprocV1beta2::NodeGroupAffinity, decorator: Google::Apis::DataprocV1beta2::NodeGroupAffinity::Representation
|
|
756
|
+
|
|
749
757
|
property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
|
|
750
758
|
property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::DataprocV1beta2::ReservationAffinity, decorator: Google::Apis::DataprocV1beta2::ReservationAffinity::Representation
|
|
751
759
|
|
|
@@ -1056,6 +1064,13 @@ module Google
|
|
|
1056
1064
|
end
|
|
1057
1065
|
end
|
|
1058
1066
|
|
|
1067
|
+
class NodeGroupAffinity
|
|
1068
|
+
# @private
|
|
1069
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1070
|
+
property :node_group_uri, as: 'nodeGroupUri'
|
|
1071
|
+
end
|
|
1072
|
+
end
|
|
1073
|
+
|
|
1059
1074
|
class NodeInitializationAction
|
|
1060
1075
|
# @private
|
|
1061
1076
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
|
27
27
|
module DialogflowV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200928'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -4326,6 +4326,25 @@ module Google
|
|
|
4326
4326
|
end
|
|
4327
4327
|
end
|
|
4328
4328
|
|
|
4329
|
+
# Response message for [Documents.BatchUpdateSmartMessagingEntries]
|
|
4330
|
+
class GoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse
|
|
4331
|
+
include Google::Apis::Core::Hashable
|
|
4332
|
+
|
|
4333
|
+
# List of updated smart message entries.
|
|
4334
|
+
# Corresponds to the JSON property `smartMessagingEntries`
|
|
4335
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartMessagingEntry>]
|
|
4336
|
+
attr_accessor :smart_messaging_entries
|
|
4337
|
+
|
|
4338
|
+
def initialize(**args)
|
|
4339
|
+
update!(**args)
|
|
4340
|
+
end
|
|
4341
|
+
|
|
4342
|
+
# Update properties of this object
|
|
4343
|
+
def update!(**args)
|
|
4344
|
+
@smart_messaging_entries = args[:smart_messaging_entries] if args.key?(:smart_messaging_entries)
|
|
4345
|
+
end
|
|
4346
|
+
end
|
|
4347
|
+
|
|
4329
4348
|
# Dialogflow contexts are similar to natural language context. If a person says
|
|
4330
4349
|
# to you "they are orange", you need context in order to understand what "they"
|
|
4331
4350
|
# is referring to. Similarly, for Dialogflow to handle an end-user expression
|
|
@@ -6681,6 +6700,74 @@ module Google
|
|
|
6681
6700
|
end
|
|
6682
6701
|
end
|
|
6683
6702
|
|
|
6703
|
+
# Smart Messaging Entry resource.
|
|
6704
|
+
class GoogleCloudDialogflowV2beta1SmartMessagingEntry
|
|
6705
|
+
include Google::Apis::Core::Hashable
|
|
6706
|
+
|
|
6707
|
+
# Smart messaging entry info.
|
|
6708
|
+
# Corresponds to the JSON property `messageInfo`
|
|
6709
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo]
|
|
6710
|
+
attr_accessor :message_info
|
|
6711
|
+
|
|
6712
|
+
# The unique identifier of this message entry. Required for [Documents.
|
|
6713
|
+
# GetSmartMessagingEntry], [Documents.CreateSmartMessagingEntry], [Documents.
|
|
6714
|
+
# UpdateSmartMessagingEntry], and [Documents.DeleteSmartMessagingEntry]. Format:
|
|
6715
|
+
# `projects//knowledgeBases//documents//smartMessagingEntries/`
|
|
6716
|
+
# Corresponds to the JSON property `name`
|
|
6717
|
+
# @return [String]
|
|
6718
|
+
attr_accessor :name
|
|
6719
|
+
|
|
6720
|
+
# Required. The raw text of the message.
|
|
6721
|
+
# Corresponds to the JSON property `rawText`
|
|
6722
|
+
# @return [String]
|
|
6723
|
+
attr_accessor :raw_text
|
|
6724
|
+
|
|
6725
|
+
# Required. Smart Messaging Entry's enabled/disabled state.
|
|
6726
|
+
# Corresponds to the JSON property `state`
|
|
6727
|
+
# @return [String]
|
|
6728
|
+
attr_accessor :state
|
|
6729
|
+
|
|
6730
|
+
def initialize(**args)
|
|
6731
|
+
update!(**args)
|
|
6732
|
+
end
|
|
6733
|
+
|
|
6734
|
+
# Update properties of this object
|
|
6735
|
+
def update!(**args)
|
|
6736
|
+
@message_info = args[:message_info] if args.key?(:message_info)
|
|
6737
|
+
@name = args[:name] if args.key?(:name)
|
|
6738
|
+
@raw_text = args[:raw_text] if args.key?(:raw_text)
|
|
6739
|
+
@state = args[:state] if args.key?(:state)
|
|
6740
|
+
end
|
|
6741
|
+
end
|
|
6742
|
+
|
|
6743
|
+
# Smart messaging entry info.
|
|
6744
|
+
class GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo
|
|
6745
|
+
include Google::Apis::Core::Hashable
|
|
6746
|
+
|
|
6747
|
+
# Output only. Method of how the smart messaging entry was created. When the
|
|
6748
|
+
# smart messaging entry was generated from GenerateDocument, the value is
|
|
6749
|
+
# AUTOMATIC; when the entry was manually added through CreateSmartMessagingEntry,
|
|
6750
|
+
# the value is MANUAL.
|
|
6751
|
+
# Corresponds to the JSON property `creationMethod`
|
|
6752
|
+
# @return [String]
|
|
6753
|
+
attr_accessor :creation_method
|
|
6754
|
+
|
|
6755
|
+
# The number of times an entry's message text has been uttered
|
|
6756
|
+
# Corresponds to the JSON property `occurrenceCount`
|
|
6757
|
+
# @return [Fixnum]
|
|
6758
|
+
attr_accessor :occurrence_count
|
|
6759
|
+
|
|
6760
|
+
def initialize(**args)
|
|
6761
|
+
update!(**args)
|
|
6762
|
+
end
|
|
6763
|
+
|
|
6764
|
+
# Update properties of this object
|
|
6765
|
+
def update!(**args)
|
|
6766
|
+
@creation_method = args[:creation_method] if args.key?(:creation_method)
|
|
6767
|
+
@occurrence_count = args[:occurrence_count] if args.key?(:occurrence_count)
|
|
6768
|
+
end
|
|
6769
|
+
end
|
|
6770
|
+
|
|
6684
6771
|
# The request message for a webhook call.
|
|
6685
6772
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
|
6686
6773
|
include Google::Apis::Core::Hashable
|
|
@@ -706,6 +706,12 @@ module Google
|
|
|
706
706
|
include Google::Apis::Core::JsonObjectSupport
|
|
707
707
|
end
|
|
708
708
|
|
|
709
|
+
class GoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse
|
|
710
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
711
|
+
|
|
712
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
713
|
+
end
|
|
714
|
+
|
|
709
715
|
class GoogleCloudDialogflowV2beta1Context
|
|
710
716
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
711
717
|
|
|
@@ -1072,6 +1078,18 @@ module Google
|
|
|
1072
1078
|
include Google::Apis::Core::JsonObjectSupport
|
|
1073
1079
|
end
|
|
1074
1080
|
|
|
1081
|
+
class GoogleCloudDialogflowV2beta1SmartMessagingEntry
|
|
1082
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1083
|
+
|
|
1084
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1085
|
+
end
|
|
1086
|
+
|
|
1087
|
+
class GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo
|
|
1088
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1089
|
+
|
|
1090
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1091
|
+
end
|
|
1092
|
+
|
|
1075
1093
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
|
1076
1094
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1077
1095
|
|
|
@@ -2323,6 +2341,14 @@ module Google
|
|
|
2323
2341
|
end
|
|
2324
2342
|
end
|
|
2325
2343
|
|
|
2344
|
+
class GoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse
|
|
2345
|
+
# @private
|
|
2346
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2347
|
+
collection :smart_messaging_entries, as: 'smartMessagingEntries', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartMessagingEntry, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartMessagingEntry::Representation
|
|
2348
|
+
|
|
2349
|
+
end
|
|
2350
|
+
end
|
|
2351
|
+
|
|
2326
2352
|
class GoogleCloudDialogflowV2beta1Context
|
|
2327
2353
|
# @private
|
|
2328
2354
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2962,6 +2988,25 @@ module Google
|
|
|
2962
2988
|
end
|
|
2963
2989
|
end
|
|
2964
2990
|
|
|
2991
|
+
class GoogleCloudDialogflowV2beta1SmartMessagingEntry
|
|
2992
|
+
# @private
|
|
2993
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2994
|
+
property :message_info, as: 'messageInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo::Representation
|
|
2995
|
+
|
|
2996
|
+
property :name, as: 'name'
|
|
2997
|
+
property :raw_text, as: 'rawText'
|
|
2998
|
+
property :state, as: 'state'
|
|
2999
|
+
end
|
|
3000
|
+
end
|
|
3001
|
+
|
|
3002
|
+
class GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo
|
|
3003
|
+
# @private
|
|
3004
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3005
|
+
property :creation_method, as: 'creationMethod'
|
|
3006
|
+
property :occurrence_count, as: 'occurrenceCount'
|
|
3007
|
+
end
|
|
3008
|
+
end
|
|
3009
|
+
|
|
2965
3010
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
|
2966
3011
|
# @private
|
|
2967
3012
|
class Representation < Google::Apis::Core::JsonRepresentation
|