google-api-client 0.30.5 → 0.30.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +63 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/service.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +11 -7
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +2 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +19 -10
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +19 -10
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +19 -10
- data/generated/google/apis/cloudbilling_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +7 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +28 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +15 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +19 -10
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +7 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +10 -10
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +10 -10
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +10 -10
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +10 -10
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +261 -145
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +261 -145
- data/generated/google/apis/compute_beta/service.rb +1 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +242 -125
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +43 -0
- data/generated/google/apis/container_v1/representations.rb +19 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +28 -0
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +28 -0
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +0 -6
- data/generated/google/apis/content_v2/representations.rb +0 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +27 -0
- data/generated/google/apis/dataproc_v1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1/service.rb +0 -216
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +27 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +42 -7
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +146 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +75 -0
- data/generated/google/apis/dialogflow_v2/service.rb +47 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +146 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +75 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +47 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +29 -0
- data/generated/google/apis/fcm_v1/representations.rb +3 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +19 -10
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +12 -10
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +19 -10
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +12 -12
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +0 -97
- data/generated/google/apis/iamcredentials_v1/representations.rb +0 -28
- data/generated/google/apis/iamcredentials_v1/service.rb +0 -36
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +2 -2
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +11 -11
- data/generated/google/apis/ml_v1/service.rb +14 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +21 -3
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/service.rb +14 -2
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +24 -19
- data/generated/google/apis/run_v1alpha1/representations.rb +4 -3
- data/generated/google/apis/run_v1alpha1/service.rb +7 -1
- data/generated/google/apis/run_v1beta1.rb +35 -0
- data/generated/google/apis/run_v1beta1/classes.rb +98 -0
- data/generated/google/apis/run_v1beta1/representations.rb +58 -0
- data/generated/google/apis/run_v1beta1/service.rb +99 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +7 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +19 -10
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +19 -10
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +2 -2
- data/generated/google/apis/servicebroker_v1/service.rb +7 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +7 -10
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +7 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +13 -20
- data/generated/google/apis/servicebroker_v1beta1/service.rb +7 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +10 -2
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +18 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +2 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +13 -4
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +13 -4
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +9 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +9 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +0 -104
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1995 -0
- data/generated/google/apis/vision_v1/representations.rb +1711 -843
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1995 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1782 -914
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1995 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1832 -964
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -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 = '20190627'
|
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'
|
@@ -972,12 +972,39 @@ module Google
|
|
972
972
|
class GetIamPolicyRequest
|
973
973
|
include Google::Apis::Core::Hashable
|
974
974
|
|
975
|
+
# Encapsulates settings provided to GetIamPolicy.
|
976
|
+
# Corresponds to the JSON property `options`
|
977
|
+
# @return [Google::Apis::DataprocV1beta2::GetPolicyOptions]
|
978
|
+
attr_accessor :options
|
979
|
+
|
980
|
+
def initialize(**args)
|
981
|
+
update!(**args)
|
982
|
+
end
|
983
|
+
|
984
|
+
# Update properties of this object
|
985
|
+
def update!(**args)
|
986
|
+
@options = args[:options] if args.key?(:options)
|
987
|
+
end
|
988
|
+
end
|
989
|
+
|
990
|
+
# Encapsulates settings provided to GetIamPolicy.
|
991
|
+
class GetPolicyOptions
|
992
|
+
include Google::Apis::Core::Hashable
|
993
|
+
|
994
|
+
# Optional. The policy format version to be returned. Acceptable values are 0
|
995
|
+
# and 1. If the value is 0, or the field is omitted, policy format version 1
|
996
|
+
# will be returned.
|
997
|
+
# Corresponds to the JSON property `requestedPolicyVersion`
|
998
|
+
# @return [Fixnum]
|
999
|
+
attr_accessor :requested_policy_version
|
1000
|
+
|
975
1001
|
def initialize(**args)
|
976
1002
|
update!(**args)
|
977
1003
|
end
|
978
1004
|
|
979
1005
|
# Update properties of this object
|
980
1006
|
def update!(**args)
|
1007
|
+
@requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
|
981
1008
|
end
|
982
1009
|
end
|
983
1010
|
|
@@ -166,6 +166,12 @@ module Google
|
|
166
166
|
include Google::Apis::Core::JsonObjectSupport
|
167
167
|
end
|
168
168
|
|
169
|
+
class GetPolicyOptions
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
169
175
|
class HadoopJob
|
170
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
177
|
|
@@ -705,6 +711,15 @@ module Google
|
|
705
711
|
class GetIamPolicyRequest
|
706
712
|
# @private
|
707
713
|
class Representation < Google::Apis::Core::JsonRepresentation
|
714
|
+
property :options, as: 'options', class: Google::Apis::DataprocV1beta2::GetPolicyOptions, decorator: Google::Apis::DataprocV1beta2::GetPolicyOptions::Representation
|
715
|
+
|
716
|
+
end
|
717
|
+
end
|
718
|
+
|
719
|
+
class GetPolicyOptions
|
720
|
+
# @private
|
721
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
722
|
+
property :requested_policy_version, as: 'requestedPolicyVersion'
|
708
723
|
end
|
709
724
|
end
|
710
725
|
|
@@ -152,6 +152,10 @@ module Google
|
|
152
152
|
# @param [String] resource
|
153
153
|
# REQUIRED: The resource for which the policy is being requested. See the
|
154
154
|
# operation documentation for the appropriate value for this field.
|
155
|
+
# @param [Fixnum] options_requested_policy_version
|
156
|
+
# Optional. The policy format version to be returned. Acceptable values are 0
|
157
|
+
# and 1. If the value is 0, or the field is omitted, policy format version 1
|
158
|
+
# will be returned.
|
155
159
|
# @param [String] fields
|
156
160
|
# Selector specifying which fields to include in a partial response.
|
157
161
|
# @param [String] quota_user
|
@@ -169,11 +173,12 @@ module Google
|
|
169
173
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
170
174
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
171
175
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
172
|
-
def get_project_location_autoscaling_policy_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
176
|
+
def get_project_location_autoscaling_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
173
177
|
command = make_simple_command(:get, 'v1beta2/{+resource}:getIamPolicy', options)
|
174
178
|
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
175
179
|
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
176
180
|
command.params['resource'] = resource unless resource.nil?
|
181
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
177
182
|
command.query['fields'] = fields unless fields.nil?
|
178
183
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
179
184
|
execute_or_queue_command(command, &block)
|
@@ -442,6 +447,10 @@ module Google
|
|
442
447
|
# @param [String] resource
|
443
448
|
# REQUIRED: The resource for which the policy is being requested. See the
|
444
449
|
# operation documentation for the appropriate value for this field.
|
450
|
+
# @param [Fixnum] options_requested_policy_version
|
451
|
+
# Optional. The policy format version to be returned. Acceptable values are 0
|
452
|
+
# and 1. If the value is 0, or the field is omitted, policy format version 1
|
453
|
+
# will be returned.
|
445
454
|
# @param [String] fields
|
446
455
|
# Selector specifying which fields to include in a partial response.
|
447
456
|
# @param [String] quota_user
|
@@ -459,11 +468,12 @@ module Google
|
|
459
468
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
460
469
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
461
470
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
462
|
-
def get_project_location_workflow_template_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
471
|
+
def get_project_location_workflow_template_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
463
472
|
command = make_simple_command(:get, 'v1beta2/{+resource}:getIamPolicy', options)
|
464
473
|
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
465
474
|
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
466
475
|
command.params['resource'] = resource unless resource.nil?
|
476
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
467
477
|
command.query['fields'] = fields unless fields.nil?
|
468
478
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
469
479
|
execute_or_queue_command(command, &block)
|
@@ -816,6 +826,10 @@ module Google
|
|
816
826
|
# @param [String] resource
|
817
827
|
# REQUIRED: The resource for which the policy is being requested. See the
|
818
828
|
# operation documentation for the appropriate value for this field.
|
829
|
+
# @param [Fixnum] options_requested_policy_version
|
830
|
+
# Optional. The policy format version to be returned. Acceptable values are 0
|
831
|
+
# and 1. If the value is 0, or the field is omitted, policy format version 1
|
832
|
+
# will be returned.
|
819
833
|
# @param [String] fields
|
820
834
|
# Selector specifying which fields to include in a partial response.
|
821
835
|
# @param [String] quota_user
|
@@ -833,11 +847,12 @@ module Google
|
|
833
847
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
834
848
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
835
849
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
836
|
-
def get_autoscaling_policy_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
850
|
+
def get_autoscaling_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
837
851
|
command = make_simple_command(:get, 'v1beta2/{+resource}:getIamPolicy', options)
|
838
852
|
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
839
853
|
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
840
854
|
command.params['resource'] = resource unless resource.nil?
|
855
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
841
856
|
command.query['fields'] = fields unless fields.nil?
|
842
857
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
843
858
|
execute_or_queue_command(command, &block)
|
@@ -1171,6 +1186,10 @@ module Google
|
|
1171
1186
|
# @param [String] resource
|
1172
1187
|
# REQUIRED: The resource for which the policy is being requested. See the
|
1173
1188
|
# operation documentation for the appropriate value for this field.
|
1189
|
+
# @param [Fixnum] options_requested_policy_version
|
1190
|
+
# Optional. The policy format version to be returned. Acceptable values are 0
|
1191
|
+
# and 1. If the value is 0, or the field is omitted, policy format version 1
|
1192
|
+
# will be returned.
|
1174
1193
|
# @param [String] fields
|
1175
1194
|
# Selector specifying which fields to include in a partial response.
|
1176
1195
|
# @param [String] quota_user
|
@@ -1188,11 +1207,12 @@ module Google
|
|
1188
1207
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1189
1208
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1190
1209
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1191
|
-
def get_project_region_cluster_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
1210
|
+
def get_project_region_cluster_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1192
1211
|
command = make_simple_command(:get, 'v1beta2/{+resource}:getIamPolicy', options)
|
1193
1212
|
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
1194
1213
|
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
1195
1214
|
command.params['resource'] = resource unless resource.nil?
|
1215
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1196
1216
|
command.query['fields'] = fields unless fields.nil?
|
1197
1217
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1198
1218
|
execute_or_queue_command(command, &block)
|
@@ -1554,6 +1574,10 @@ module Google
|
|
1554
1574
|
# @param [String] resource
|
1555
1575
|
# REQUIRED: The resource for which the policy is being requested. See the
|
1556
1576
|
# operation documentation for the appropriate value for this field.
|
1577
|
+
# @param [Fixnum] options_requested_policy_version
|
1578
|
+
# Optional. The policy format version to be returned. Acceptable values are 0
|
1579
|
+
# and 1. If the value is 0, or the field is omitted, policy format version 1
|
1580
|
+
# will be returned.
|
1557
1581
|
# @param [String] fields
|
1558
1582
|
# Selector specifying which fields to include in a partial response.
|
1559
1583
|
# @param [String] quota_user
|
@@ -1571,11 +1595,12 @@ module Google
|
|
1571
1595
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1572
1596
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1573
1597
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1574
|
-
def get_project_region_job_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
1598
|
+
def get_project_region_job_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1575
1599
|
command = make_simple_command(:get, 'v1beta2/{+resource}:getIamPolicy', options)
|
1576
1600
|
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
1577
1601
|
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
1578
1602
|
command.params['resource'] = resource unless resource.nil?
|
1603
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1579
1604
|
command.query['fields'] = fields unless fields.nil?
|
1580
1605
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1581
1606
|
execute_or_queue_command(command, &block)
|
@@ -1899,6 +1924,10 @@ module Google
|
|
1899
1924
|
# @param [String] resource
|
1900
1925
|
# REQUIRED: The resource for which the policy is being requested. See the
|
1901
1926
|
# operation documentation for the appropriate value for this field.
|
1927
|
+
# @param [Fixnum] options_requested_policy_version
|
1928
|
+
# Optional. The policy format version to be returned. Acceptable values are 0
|
1929
|
+
# and 1. If the value is 0, or the field is omitted, policy format version 1
|
1930
|
+
# will be returned.
|
1902
1931
|
# @param [String] fields
|
1903
1932
|
# Selector specifying which fields to include in a partial response.
|
1904
1933
|
# @param [String] quota_user
|
@@ -1916,11 +1945,12 @@ module Google
|
|
1916
1945
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1917
1946
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1918
1947
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1919
|
-
def get_project_region_operation_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
1948
|
+
def get_project_region_operation_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1920
1949
|
command = make_simple_command(:get, 'v1beta2/{+resource}:getIamPolicy', options)
|
1921
1950
|
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
1922
1951
|
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
1923
1952
|
command.params['resource'] = resource unless resource.nil?
|
1953
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1924
1954
|
command.query['fields'] = fields unless fields.nil?
|
1925
1955
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1926
1956
|
execute_or_queue_command(command, &block)
|
@@ -2159,6 +2189,10 @@ module Google
|
|
2159
2189
|
# @param [String] resource
|
2160
2190
|
# REQUIRED: The resource for which the policy is being requested. See the
|
2161
2191
|
# operation documentation for the appropriate value for this field.
|
2192
|
+
# @param [Fixnum] options_requested_policy_version
|
2193
|
+
# Optional. The policy format version to be returned. Acceptable values are 0
|
2194
|
+
# and 1. If the value is 0, or the field is omitted, policy format version 1
|
2195
|
+
# will be returned.
|
2162
2196
|
# @param [String] fields
|
2163
2197
|
# Selector specifying which fields to include in a partial response.
|
2164
2198
|
# @param [String] quota_user
|
@@ -2176,11 +2210,12 @@ module Google
|
|
2176
2210
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2177
2211
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2178
2212
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2179
|
-
def get_project_region_workflow_template_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
2213
|
+
def get_project_region_workflow_template_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2180
2214
|
command = make_simple_command(:get, 'v1beta2/{+resource}:getIamPolicy', options)
|
2181
2215
|
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
2182
2216
|
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
2183
2217
|
command.params['resource'] = resource unless resource.nil?
|
2218
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
2184
2219
|
command.query['fields'] = fields unless fields.nil?
|
2185
2220
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2186
2221
|
execute_or_queue_command(command, &block)
|
@@ -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 = '20190708'
|
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'
|
@@ -2154,6 +2154,10 @@ module Google
|
|
2154
2154
|
|
2155
2155
|
# The intent detection confidence. Values range from 0.0
|
2156
2156
|
# (completely uncertain) to 1.0 (completely certain).
|
2157
|
+
# This value is for informational purpose only and is only used to
|
2158
|
+
# help match the best intent within the classification threshold.
|
2159
|
+
# This value may change for the same end-user expression at any time due to a
|
2160
|
+
# model retraining or change in implementation.
|
2157
2161
|
# If there are `multiple knowledge_answers` messages, this value is set to
|
2158
2162
|
# the greatest `knowledgeAnswers.match_confidence` value in the list.
|
2159
2163
|
# Corresponds to the JSON property `intentDetectionConfidence`
|
@@ -2675,6 +2679,26 @@ module Google
|
|
2675
2679
|
end
|
2676
2680
|
end
|
2677
2681
|
|
2682
|
+
# Metadata for article suggestion models.
|
2683
|
+
class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata
|
2684
|
+
include Google::Apis::Core::Hashable
|
2685
|
+
|
2686
|
+
# Optional. Type of the article suggestion model. The available values are:
|
2687
|
+
# * `article-suggestion-gbt-1` - (default) Article Suggestion Gbt model.
|
2688
|
+
# Corresponds to the JSON property `modelType`
|
2689
|
+
# @return [String]
|
2690
|
+
attr_accessor :model_type
|
2691
|
+
|
2692
|
+
def initialize(**args)
|
2693
|
+
update!(**args)
|
2694
|
+
end
|
2695
|
+
|
2696
|
+
# Update properties of this object
|
2697
|
+
def update!(**args)
|
2698
|
+
@model_type = args[:model_type] if args.key?(:model_type)
|
2699
|
+
end
|
2700
|
+
end
|
2701
|
+
|
2678
2702
|
# The response message for EntityTypes.BatchUpdateEntityTypes.
|
2679
2703
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
|
2680
2704
|
include Google::Apis::Core::Hashable
|
@@ -2757,6 +2781,63 @@ module Google
|
|
2757
2781
|
end
|
2758
2782
|
end
|
2759
2783
|
|
2784
|
+
# Represents a conversation model.
|
2785
|
+
class GoogleCloudDialogflowV2beta1ConversationModel
|
2786
|
+
include Google::Apis::Core::Hashable
|
2787
|
+
|
2788
|
+
# Metadata for article suggestion models.
|
2789
|
+
# Corresponds to the JSON property `articleSuggestionModelMetadata`
|
2790
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata]
|
2791
|
+
attr_accessor :article_suggestion_model_metadata
|
2792
|
+
|
2793
|
+
# Output only. Creation time of this model.
|
2794
|
+
# Corresponds to the JSON property `createTime`
|
2795
|
+
# @return [String]
|
2796
|
+
attr_accessor :create_time
|
2797
|
+
|
2798
|
+
# Required. Datasets used to create model.
|
2799
|
+
# Corresponds to the JSON property `datasets`
|
2800
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InputDataset>]
|
2801
|
+
attr_accessor :datasets
|
2802
|
+
|
2803
|
+
# Required. The display name of the model. At most 64 bytes long.
|
2804
|
+
# Corresponds to the JSON property `displayName`
|
2805
|
+
# @return [String]
|
2806
|
+
attr_accessor :display_name
|
2807
|
+
|
2808
|
+
# Output only. ConversationModel resource name. Format:
|
2809
|
+
# `projects/<Project ID>/conversationModels/<Conversation Model ID>`
|
2810
|
+
# Corresponds to the JSON property `name`
|
2811
|
+
# @return [String]
|
2812
|
+
attr_accessor :name
|
2813
|
+
|
2814
|
+
# Metadata for smart reply models.
|
2815
|
+
# Corresponds to the JSON property `smartReplyModelMetadata`
|
2816
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata]
|
2817
|
+
attr_accessor :smart_reply_model_metadata
|
2818
|
+
|
2819
|
+
# Output only. State of the model. A model can only serve prediction requests
|
2820
|
+
# after it gets deployed.
|
2821
|
+
# Corresponds to the JSON property `state`
|
2822
|
+
# @return [String]
|
2823
|
+
attr_accessor :state
|
2824
|
+
|
2825
|
+
def initialize(**args)
|
2826
|
+
update!(**args)
|
2827
|
+
end
|
2828
|
+
|
2829
|
+
# Update properties of this object
|
2830
|
+
def update!(**args)
|
2831
|
+
@article_suggestion_model_metadata = args[:article_suggestion_model_metadata] if args.key?(:article_suggestion_model_metadata)
|
2832
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2833
|
+
@datasets = args[:datasets] if args.key?(:datasets)
|
2834
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2835
|
+
@name = args[:name] if args.key?(:name)
|
2836
|
+
@smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
|
2837
|
+
@state = args[:state] if args.key?(:state)
|
2838
|
+
end
|
2839
|
+
end
|
2840
|
+
|
2760
2841
|
# Represents an entity type.
|
2761
2842
|
# Entity types serve as a tool for extracting parameter values from natural
|
2762
2843
|
# language queries.
|
@@ -2920,6 +3001,29 @@ module Google
|
|
2920
3001
|
end
|
2921
3002
|
end
|
2922
3003
|
|
3004
|
+
# InputDataset used to create model or do evaluation.
|
3005
|
+
class GoogleCloudDialogflowV2beta1InputDataset
|
3006
|
+
include Google::Apis::Core::Hashable
|
3007
|
+
|
3008
|
+
# Required. ConversationDataset resource name. Format:
|
3009
|
+
# `projects/<Project ID>/conversationDatasets/<Conversation Dataset ID>`
|
3010
|
+
# or
|
3011
|
+
# `projects/<Project ID>/conversationDatasets/<Conversation Dataset
|
3012
|
+
# ID>/annotatedConversationDatasets/<Annotated Conversation Dataset ID>`
|
3013
|
+
# Corresponds to the JSON property `dataset`
|
3014
|
+
# @return [String]
|
3015
|
+
attr_accessor :dataset
|
3016
|
+
|
3017
|
+
def initialize(**args)
|
3018
|
+
update!(**args)
|
3019
|
+
end
|
3020
|
+
|
3021
|
+
# Update properties of this object
|
3022
|
+
def update!(**args)
|
3023
|
+
@dataset = args[:dataset] if args.key?(:dataset)
|
3024
|
+
end
|
3025
|
+
end
|
3026
|
+
|
2923
3027
|
# Represents an intent.
|
2924
3028
|
# Intents convert a number of user expressions or patterns into an action. An
|
2925
3029
|
# action is an extraction of a user command or sentence semantics.
|
@@ -4575,6 +4679,10 @@ module Google
|
|
4575
4679
|
|
4576
4680
|
# The intent detection confidence. Values range from 0.0
|
4577
4681
|
# (completely uncertain) to 1.0 (completely certain).
|
4682
|
+
# This value is for informational purpose only and is only used to
|
4683
|
+
# help match the best intent within the classification threshold.
|
4684
|
+
# This value may change for the same end-user expression at any time due to a
|
4685
|
+
# model retraining or change in implementation.
|
4578
4686
|
# If there are `multiple knowledge_answers` messages, this value is set to
|
4579
4687
|
# the greatest `knowledgeAnswers.match_confidence` value in the list.
|
4580
4688
|
# Corresponds to the JSON property `intentDetectionConfidence`
|
@@ -4723,6 +4831,19 @@ module Google
|
|
4723
4831
|
end
|
4724
4832
|
end
|
4725
4833
|
|
4834
|
+
# Metadata for smart reply models.
|
4835
|
+
class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
|
4836
|
+
include Google::Apis::Core::Hashable
|
4837
|
+
|
4838
|
+
def initialize(**args)
|
4839
|
+
update!(**args)
|
4840
|
+
end
|
4841
|
+
|
4842
|
+
# Update properties of this object
|
4843
|
+
def update!(**args)
|
4844
|
+
end
|
4845
|
+
end
|
4846
|
+
|
4726
4847
|
# The request message for a webhook call.
|
4727
4848
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
4728
4849
|
include Google::Apis::Core::Hashable
|
@@ -4858,6 +4979,31 @@ module Google
|
|
4858
4979
|
end
|
4859
4980
|
end
|
4860
4981
|
|
4982
|
+
# The response message for Operations.ListOperations.
|
4983
|
+
class GoogleLongrunningListOperationsResponse
|
4984
|
+
include Google::Apis::Core::Hashable
|
4985
|
+
|
4986
|
+
# The standard List next-page token.
|
4987
|
+
# Corresponds to the JSON property `nextPageToken`
|
4988
|
+
# @return [String]
|
4989
|
+
attr_accessor :next_page_token
|
4990
|
+
|
4991
|
+
# A list of operations that matches the specified filter in the request.
|
4992
|
+
# Corresponds to the JSON property `operations`
|
4993
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleLongrunningOperation>]
|
4994
|
+
attr_accessor :operations
|
4995
|
+
|
4996
|
+
def initialize(**args)
|
4997
|
+
update!(**args)
|
4998
|
+
end
|
4999
|
+
|
5000
|
+
# Update properties of this object
|
5001
|
+
def update!(**args)
|
5002
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5003
|
+
@operations = args[:operations] if args.key?(:operations)
|
5004
|
+
end
|
5005
|
+
end
|
5006
|
+
|
4861
5007
|
# This resource represents a long-running operation that is the result of a
|
4862
5008
|
# network API call.
|
4863
5009
|
class GoogleLongrunningOperation
|
@@ -424,6 +424,12 @@ module Google
|
|
424
424
|
include Google::Apis::Core::JsonObjectSupport
|
425
425
|
end
|
426
426
|
|
427
|
+
class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
+
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
431
|
+
end
|
432
|
+
|
427
433
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
|
428
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
435
|
|
@@ -442,6 +448,12 @@ module Google
|
|
442
448
|
include Google::Apis::Core::JsonObjectSupport
|
443
449
|
end
|
444
450
|
|
451
|
+
class GoogleCloudDialogflowV2beta1ConversationModel
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
|
+
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
455
|
+
end
|
456
|
+
|
445
457
|
class GoogleCloudDialogflowV2beta1EntityType
|
446
458
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
459
|
|
@@ -466,6 +478,12 @@ module Google
|
|
466
478
|
include Google::Apis::Core::JsonObjectSupport
|
467
479
|
end
|
468
480
|
|
481
|
+
class GoogleCloudDialogflowV2beta1InputDataset
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
469
487
|
class GoogleCloudDialogflowV2beta1Intent
|
470
488
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
489
|
|
@@ -736,6 +754,12 @@ module Google
|
|
736
754
|
include Google::Apis::Core::JsonObjectSupport
|
737
755
|
end
|
738
756
|
|
757
|
+
class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
|
758
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
759
|
+
|
760
|
+
include Google::Apis::Core::JsonObjectSupport
|
761
|
+
end
|
762
|
+
|
739
763
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
740
764
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
741
765
|
|
@@ -748,6 +772,12 @@ module Google
|
|
748
772
|
include Google::Apis::Core::JsonObjectSupport
|
749
773
|
end
|
750
774
|
|
775
|
+
class GoogleLongrunningListOperationsResponse
|
776
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
777
|
+
|
778
|
+
include Google::Apis::Core::JsonObjectSupport
|
779
|
+
end
|
780
|
+
|
751
781
|
class GoogleLongrunningOperation
|
752
782
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
753
783
|
|
@@ -1467,6 +1497,13 @@ module Google
|
|
1467
1497
|
end
|
1468
1498
|
end
|
1469
1499
|
|
1500
|
+
class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata
|
1501
|
+
# @private
|
1502
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1503
|
+
property :model_type, as: 'modelType'
|
1504
|
+
end
|
1505
|
+
end
|
1506
|
+
|
1470
1507
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
|
1471
1508
|
# @private
|
1472
1509
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1492,6 +1529,22 @@ module Google
|
|
1492
1529
|
end
|
1493
1530
|
end
|
1494
1531
|
|
1532
|
+
class GoogleCloudDialogflowV2beta1ConversationModel
|
1533
|
+
# @private
|
1534
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1535
|
+
property :article_suggestion_model_metadata, as: 'articleSuggestionModelMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata::Representation
|
1536
|
+
|
1537
|
+
property :create_time, as: 'createTime'
|
1538
|
+
collection :datasets, as: 'datasets', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InputDataset, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InputDataset::Representation
|
1539
|
+
|
1540
|
+
property :display_name, as: 'displayName'
|
1541
|
+
property :name, as: 'name'
|
1542
|
+
property :smart_reply_model_metadata, as: 'smartReplyModelMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata::Representation
|
1543
|
+
|
1544
|
+
property :state, as: 'state'
|
1545
|
+
end
|
1546
|
+
end
|
1547
|
+
|
1495
1548
|
class GoogleCloudDialogflowV2beta1EntityType
|
1496
1549
|
# @private
|
1497
1550
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1529,6 +1582,13 @@ module Google
|
|
1529
1582
|
end
|
1530
1583
|
end
|
1531
1584
|
|
1585
|
+
class GoogleCloudDialogflowV2beta1InputDataset
|
1586
|
+
# @private
|
1587
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1588
|
+
property :dataset, as: 'dataset'
|
1589
|
+
end
|
1590
|
+
end
|
1591
|
+
|
1532
1592
|
class GoogleCloudDialogflowV2beta1Intent
|
1533
1593
|
# @private
|
1534
1594
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2004,6 +2064,12 @@ module Google
|
|
2004
2064
|
end
|
2005
2065
|
end
|
2006
2066
|
|
2067
|
+
class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
|
2068
|
+
# @private
|
2069
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2070
|
+
end
|
2071
|
+
end
|
2072
|
+
|
2007
2073
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
2008
2074
|
# @private
|
2009
2075
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2034,6 +2100,15 @@ module Google
|
|
2034
2100
|
end
|
2035
2101
|
end
|
2036
2102
|
|
2103
|
+
class GoogleLongrunningListOperationsResponse
|
2104
|
+
# @private
|
2105
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2106
|
+
property :next_page_token, as: 'nextPageToken'
|
2107
|
+
collection :operations, as: 'operations', class: Google::Apis::DialogflowV2::GoogleLongrunningOperation, decorator: Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
|
2108
|
+
|
2109
|
+
end
|
2110
|
+
end
|
2111
|
+
|
2037
2112
|
class GoogleLongrunningOperation
|
2038
2113
|
# @private
|
2039
2114
|
class Representation < Google::Apis::Core::JsonRepresentation
|