google-api-client 0.23.0 → 0.23.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +114 -0
- data/CODE_OF_CONDUCT.md +43 -0
- data/MIGRATING.md +1 -5
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/service.rb +3 -3
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +7 -3
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +9 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +34 -1
- data/generated/google/apis/appengine_v1/representations.rb +16 -0
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +67 -3
- data/generated/google/apis/appengine_v1beta/representations.rb +32 -0
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -4
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -6
- data/generated/google/apis/chat_v1.rb +2 -2
- data/generated/google/apis/chat_v1/classes.rb +76 -0
- data/generated/google/apis/chat_v1/representations.rb +25 -0
- data/generated/google/apis/chat_v1/service.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +12 -12
- data/generated/google/apis/cloudbuild_v1.rb +2 -2
- data/generated/google/apis/cloudbuild_v1/classes.rb +21 -33
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +31 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +31 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +3 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +0 -331
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -1
- data/generated/google/apis/cloudkms_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +66 -22
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +40 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -3
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +38 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +9 -5
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +51 -19
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +2 -3
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +9 -12
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +4 -11
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +49 -18
- data/generated/google/apis/compute_alpha/representations.rb +6 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1114 -103
- data/generated/google/apis/compute_beta/representations.rb +431 -0
- data/generated/google/apis/compute_beta/service.rb +605 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +95 -1
- data/generated/google/apis/compute_v1/representations.rb +33 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1 -1
- data/generated/google/apis/container_v1/service.rb +1 -1
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +348 -2
- data/generated/google/apis/container_v1beta1/representations.rb +121 -0
- data/generated/google/apis/container_v1beta1/service.rb +114 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +147 -0
- data/generated/google/apis/content_v2/representations.rb +65 -0
- data/generated/google/apis/content_v2/service.rb +81 -1
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +7 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +262 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +130 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +164 -1
- data/generated/google/apis/dataproc_v1/representations.rb +70 -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/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +40 -21
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +43 -28
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +74 -110
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +70 -26
- data/generated/google/apis/dlp_v2/representations.rb +3 -0
- data/generated/google/apis/dlp_v2/service.rb +78 -17
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +33 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +17 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +137 -125
- data/generated/google/apis/firestore_v1beta1/representations.rb +39 -35
- data/generated/google/apis/firestore_v1beta1/service.rb +16 -16
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +0 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +17 -3
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/{sqladmin_v1beta3.rb → iamcredentials_v1.rb} +9 -13
- data/generated/google/apis/iamcredentials_v1/classes.rb +272 -0
- data/generated/google/apis/iamcredentials_v1/representations.rb +139 -0
- data/generated/google/apis/iamcredentials_v1/service.rb +207 -0
- data/generated/google/apis/indexing_v3.rb +32 -0
- data/generated/google/apis/indexing_v3/classes.rb +115 -0
- data/generated/google/apis/indexing_v3/representations.rb +72 -0
- data/generated/google/apis/indexing_v3/service.rb +122 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +73 -72
- data/generated/google/apis/jobs_v2/representations.rb +0 -1
- data/generated/google/apis/jobs_v2/service.rb +8 -7
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +42 -0
- data/generated/google/apis/logging_v2/representations.rb +17 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +42 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +17 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +17 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +4 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +91 -7
- data/generated/google/apis/monitoring_v3/representations.rb +17 -0
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +12 -2
- data/generated/google/apis/poly_v1/representations.rb +1 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +57 -4
- data/generated/google/apis/pubsub_v1/representations.rb +19 -0
- data/generated/google/apis/pubsub_v1/service.rb +40 -2
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/script_v1.rb +4 -1
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -4
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +42 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +17 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +284 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +78 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +42 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +17 -0
- data/generated/google/apis/{replicapool_v1beta2.rb → serviceusage_v1.rb} +13 -15
- data/generated/google/apis/serviceusage_v1/classes.rb +4020 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +1239 -0
- data/generated/google/apis/serviceusage_v1/service.rb +423 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +102 -1
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +55 -0
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +42 -0
- data/generated/google/apis/serviceuser_v1/representations.rb +17 -0
- data/generated/google/apis/serviceuser_v1/service.rb +2 -2
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +9 -3
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1.rb +2 -2
- data/generated/google/apis/speech_v1/service.rb +1 -1
- data/generated/google/apis/speech_v1beta1.rb +2 -2
- data/generated/google/apis/speech_v1beta1/service.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +8 -0
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +1 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +28 -28
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +28 -28
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +4 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -3
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +4 -2
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -10
- data/generated/google/apis/replicapool_v1beta2/classes.rb +0 -633
- data/generated/google/apis/replicapool_v1beta2/representations.rb +0 -264
- data/generated/google/apis/replicapool_v1beta2/service.rb +0 -583
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +0 -1632
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +0 -733
- data/generated/google/apis/sqladmin_v1beta3/service.rb +0 -995
@@ -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 = '20180622'
|
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'
|
@@ -191,6 +191,11 @@ module Google
|
|
191
191
|
# @return [String]
|
192
192
|
attr_accessor :config_bucket
|
193
193
|
|
194
|
+
# Encryption settings for the cluster.
|
195
|
+
# Corresponds to the JSON property `encryptionConfig`
|
196
|
+
# @return [Google::Apis::DataprocV1beta2::EncryptionConfig]
|
197
|
+
attr_accessor :encryption_config
|
198
|
+
|
194
199
|
# Common config settings for resources of Compute Engine cluster instances,
|
195
200
|
# applicable to all instances in the cluster.
|
196
201
|
# Corresponds to the JSON property `gceClusterConfig`
|
@@ -247,6 +252,7 @@ module Google
|
|
247
252
|
# Update properties of this object
|
248
253
|
def update!(**args)
|
249
254
|
@config_bucket = args[:config_bucket] if args.key?(:config_bucket)
|
255
|
+
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
250
256
|
@gce_cluster_config = args[:gce_cluster_config] if args.key?(:gce_cluster_config)
|
251
257
|
@initialization_actions = args[:initialization_actions] if args.key?(:initialization_actions)
|
252
258
|
@lifecycle_config = args[:lifecycle_config] if args.key?(:lifecycle_config)
|
@@ -568,6 +574,26 @@ module Google
|
|
568
574
|
end
|
569
575
|
end
|
570
576
|
|
577
|
+
# Encryption settings for the cluster.
|
578
|
+
class EncryptionConfig
|
579
|
+
include Google::Apis::Core::Hashable
|
580
|
+
|
581
|
+
# Optional. The Cloud KMS key name to use for PD disk encryption for all
|
582
|
+
# instances in the cluster.
|
583
|
+
# Corresponds to the JSON property `gcePdKmsKeyName`
|
584
|
+
# @return [String]
|
585
|
+
attr_accessor :gce_pd_kms_key_name
|
586
|
+
|
587
|
+
def initialize(**args)
|
588
|
+
update!(**args)
|
589
|
+
end
|
590
|
+
|
591
|
+
# Update properties of this object
|
592
|
+
def update!(**args)
|
593
|
+
@gce_pd_kms_key_name = args[:gce_pd_kms_key_name] if args.key?(:gce_pd_kms_key_name)
|
594
|
+
end
|
595
|
+
end
|
596
|
+
|
571
597
|
# Common config settings for resources of Compute Engine cluster instances,
|
572
598
|
# applicable to all instances in the cluster.
|
573
599
|
class GceClusterConfig
|
@@ -840,8 +866,8 @@ module Google
|
|
840
866
|
# @return [Google::Apis::DataprocV1beta2::DiskConfig]
|
841
867
|
attr_accessor :disk_config
|
842
868
|
|
843
|
-
#
|
844
|
-
#
|
869
|
+
# Optional. The Compute Engine image resource used for cluster instances. It can
|
870
|
+
# be specified or may be inferred from SoftwareConfig.image_version.
|
845
871
|
# Corresponds to the JSON property `imageUri`
|
846
872
|
# @return [String]
|
847
873
|
attr_accessor :image_uri
|
@@ -112,6 +112,12 @@ module Google
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
+
class EncryptionConfig
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
115
121
|
class GceClusterConfig
|
116
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
123
|
|
@@ -420,6 +426,8 @@ module Google
|
|
420
426
|
# @private
|
421
427
|
class Representation < Google::Apis::Core::JsonRepresentation
|
422
428
|
property :config_bucket, as: 'configBucket'
|
429
|
+
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::DataprocV1beta2::EncryptionConfig, decorator: Google::Apis::DataprocV1beta2::EncryptionConfig::Representation
|
430
|
+
|
423
431
|
property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1beta2::GceClusterConfig, decorator: Google::Apis::DataprocV1beta2::GceClusterConfig::Representation
|
424
432
|
|
425
433
|
collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1beta2::NodeInitializationAction, decorator: Google::Apis::DataprocV1beta2::NodeInitializationAction::Representation
|
@@ -526,6 +534,13 @@ module Google
|
|
526
534
|
end
|
527
535
|
end
|
528
536
|
|
537
|
+
class EncryptionConfig
|
538
|
+
# @private
|
539
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
540
|
+
property :gce_pd_kms_key_name, as: 'gcePdKmsKeyName'
|
541
|
+
end
|
542
|
+
end
|
543
|
+
|
529
544
|
class GceClusterConfig
|
530
545
|
# @private
|
531
546
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/datastore/
|
27
27
|
module DatastoreV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180605'
|
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'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/datastore/
|
27
27
|
module DatastoreV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180605'
|
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'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/datastore/
|
27
27
|
module DatastoreV1beta3
|
28
28
|
VERSION = 'V1beta3'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180605'
|
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'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/deployment-manager/
|
27
27
|
module DeploymentmanagerAlpha
|
28
28
|
VERSION = 'Alpha'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180609'
|
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'
|
@@ -1224,7 +1224,7 @@ module Google
|
|
1224
1224
|
# @param [String] type_provider
|
1225
1225
|
# The name of the type provider for this request.
|
1226
1226
|
# @param [String] type
|
1227
|
-
# The name of the type provider for this request.
|
1227
|
+
# The name of the type provider type for this request.
|
1228
1228
|
# @param [String] fields
|
1229
1229
|
# Selector specifying which fields to include in a partial response.
|
1230
1230
|
# @param [String] quota_user
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/deployment-manager/
|
27
27
|
module DeploymentmanagerV2beta
|
28
28
|
VERSION = 'V2beta'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180609'
|
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'
|
@@ -1224,7 +1224,7 @@ module Google
|
|
1224
1224
|
# @param [String] type_provider
|
1225
1225
|
# The name of the type provider for this request.
|
1226
1226
|
# @param [String] type
|
1227
|
-
# The name of the type provider for this request.
|
1227
|
+
# The name of the type provider type for this request.
|
1228
1228
|
# @param [String] fields
|
1229
1229
|
# Selector specifying which fields to include in a partial response.
|
1230
1230
|
# @param [String] quota_user
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow-enterprise/
|
27
27
|
module DialogflowV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180702'
|
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'
|
@@ -689,8 +689,9 @@ module Google
|
|
689
689
|
|
690
690
|
# The exported agent.
|
691
691
|
# Example for how to export an agent to a zip file via a command line:
|
692
|
-
# curl \
|
693
|
-
# 'https://dialogflow.googleapis.com/v2/projects
|
692
|
+
# <pre>curl \
|
693
|
+
# 'https://dialogflow.googleapis.com/v2/projects/<project_name>/agent:
|
694
|
+
# export'\
|
694
695
|
# -X POST \
|
695
696
|
# -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
|
696
697
|
# -H 'Accept: application/json' \
|
@@ -698,7 +699,7 @@ module Google
|
|
698
699
|
# --compressed \
|
699
700
|
# --data-binary '``' \
|
700
701
|
# | grep agentContent | sed -e 's/.*"agentContent": "\([^"]*\)".*/\1/' \
|
701
|
-
# | base64 --decode >
|
702
|
+
# | base64 --decode > <agent zip file></pre>
|
702
703
|
# Corresponds to the JSON property `agentContent`
|
703
704
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
704
705
|
# @return [String]
|
@@ -727,16 +728,17 @@ module Google
|
|
727
728
|
|
728
729
|
# The agent to import.
|
729
730
|
# Example for how to import an agent via the command line:
|
730
|
-
# curl \
|
731
|
-
# 'https://dialogflow.googleapis.com/v2/projects
|
731
|
+
# <pre>curl \
|
732
|
+
# 'https://dialogflow.googleapis.com/v2/projects/<project_name>/agent:
|
733
|
+
# import\
|
732
734
|
# -X POST \
|
733
735
|
# -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
|
734
736
|
# -H 'Accept: application/json' \
|
735
737
|
# -H 'Content-Type: application/json' \
|
736
738
|
# --compressed \
|
737
739
|
# --data-binary "`
|
738
|
-
# 'agentContent': '$(cat
|
739
|
-
# `"
|
740
|
+
# 'agentContent': '$(cat <agent zip file> | base64 -w 0)'
|
741
|
+
# `"</pre>
|
740
742
|
# Corresponds to the JSON property `agentContent`
|
741
743
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
742
744
|
# @return [String]
|
@@ -1874,6 +1876,12 @@ module Google
|
|
1874
1876
|
# @return [String]
|
1875
1877
|
attr_accessor :source
|
1876
1878
|
|
1879
|
+
# Optional. The version of the protocol used for this request.
|
1880
|
+
# This field is AoG-specific.
|
1881
|
+
# Corresponds to the JSON property `version`
|
1882
|
+
# @return [String]
|
1883
|
+
attr_accessor :version
|
1884
|
+
|
1877
1885
|
def initialize(**args)
|
1878
1886
|
update!(**args)
|
1879
1887
|
end
|
@@ -1882,6 +1890,7 @@ module Google
|
|
1882
1890
|
def update!(**args)
|
1883
1891
|
@payload = args[:payload] if args.key?(:payload)
|
1884
1892
|
@source = args[:source] if args.key?(:source)
|
1893
|
+
@version = args[:version] if args.key?(:version)
|
1885
1894
|
end
|
1886
1895
|
end
|
1887
1896
|
|
@@ -2030,6 +2039,8 @@ module Google
|
|
2030
2039
|
|
2031
2040
|
# The intent detection confidence. Values range from 0.0
|
2032
2041
|
# (completely uncertain) to 1.0 (completely certain).
|
2042
|
+
# If there are `multiple knowledge_answers` messages, this value is set to
|
2043
|
+
# the greatest `knowledgeAnswers.match_confidence` value in the list.
|
2033
2044
|
# Corresponds to the JSON property `intentDetectionConfidence`
|
2034
2045
|
# @return [Float]
|
2035
2046
|
attr_accessor :intent_detection_confidence
|
@@ -2118,16 +2129,17 @@ module Google
|
|
2118
2129
|
|
2119
2130
|
# The agent to restore.
|
2120
2131
|
# Example for how to restore an agent via the command line:
|
2121
|
-
# curl \
|
2122
|
-
# 'https://dialogflow.googleapis.com/v2/projects
|
2132
|
+
# <pre>curl \
|
2133
|
+
# 'https://dialogflow.googleapis.com/v2/projects/<project_name>/agent:
|
2134
|
+
# restore\
|
2123
2135
|
# -X POST \
|
2124
2136
|
# -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
|
2125
2137
|
# -H 'Accept: application/json' \
|
2126
2138
|
# -H 'Content-Type: application/json' \
|
2127
2139
|
# --compressed \
|
2128
2140
|
# --data-binary "`
|
2129
|
-
# 'agentContent': '$(cat
|
2130
|
-
# `"
|
2141
|
+
# 'agentContent': '$(cat <agent zip file> | base64 -w 0)'
|
2142
|
+
# `"</pre>
|
2131
2143
|
# Corresponds to the JSON property `agentContent`
|
2132
2144
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2133
2145
|
# @return [String]
|
@@ -2428,12 +2440,10 @@ module Google
|
|
2428
2440
|
|
2429
2441
|
# Required. The unique identifier of the context. Format:
|
2430
2442
|
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
|
2431
|
-
# or
|
2432
|
-
#
|
2433
|
-
#
|
2434
|
-
#
|
2435
|
-
# always converted to lowercase. If <Environment ID> is not specified, we
|
2436
|
-
# assume default 'draft' environment. If <User ID> is not specified, we
|
2443
|
+
# or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
2444
|
+
# ID>/sessions/<Session ID>/contexts/<Context ID>`. The `Context ID` is
|
2445
|
+
# always converted to lowercase. If `Environment ID` is not specified, we
|
2446
|
+
# assume default 'draft' environment. If `User ID` is not specified, we
|
2437
2447
|
# assume default '-' user.
|
2438
2448
|
# Corresponds to the JSON property `name`
|
2439
2449
|
# @return [String]
|
@@ -2582,9 +2592,9 @@ module Google
|
|
2582
2592
|
|
2583
2593
|
# The exported agent.
|
2584
2594
|
# Example for how to export an agent to a zip file via a command line:
|
2585
|
-
# curl \
|
2586
|
-
# 'https://dialogflow.googleapis.com/v2beta1/projects
|
2587
|
-
# export'\
|
2595
|
+
# <pre>curl \
|
2596
|
+
# 'https://dialogflow.googleapis.com/v2beta1/projects/<project_name>/
|
2597
|
+
# agent:export'\
|
2588
2598
|
# -X POST \
|
2589
2599
|
# -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
|
2590
2600
|
# -H 'Accept: application/json' \
|
@@ -2592,7 +2602,7 @@ module Google
|
|
2592
2602
|
# --compressed \
|
2593
2603
|
# --data-binary '``' \
|
2594
2604
|
# | grep agentContent | sed -e 's/.*"agentContent": "\([^"]*\)".*/\1/' \
|
2595
|
-
# | base64 --decode >
|
2605
|
+
# | base64 --decode > <agent zip file></pre>
|
2596
2606
|
# Corresponds to the JSON property `agentContent`
|
2597
2607
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2598
2608
|
# @return [String]
|
@@ -3588,6 +3598,12 @@ module Google
|
|
3588
3598
|
# @return [String]
|
3589
3599
|
attr_accessor :source
|
3590
3600
|
|
3601
|
+
# Optional. The version of the protocol used for this request.
|
3602
|
+
# This field is AoG-specific.
|
3603
|
+
# Corresponds to the JSON property `version`
|
3604
|
+
# @return [String]
|
3605
|
+
attr_accessor :version
|
3606
|
+
|
3591
3607
|
def initialize(**args)
|
3592
3608
|
update!(**args)
|
3593
3609
|
end
|
@@ -3596,6 +3612,7 @@ module Google
|
|
3596
3612
|
def update!(**args)
|
3597
3613
|
@payload = args[:payload] if args.key?(:payload)
|
3598
3614
|
@source = args[:source] if args.key?(:source)
|
3615
|
+
@version = args[:version] if args.key?(:version)
|
3599
3616
|
end
|
3600
3617
|
end
|
3601
3618
|
|
@@ -3643,6 +3660,8 @@ module Google
|
|
3643
3660
|
|
3644
3661
|
# The intent detection confidence. Values range from 0.0
|
3645
3662
|
# (completely uncertain) to 1.0 (completely certain).
|
3663
|
+
# If there are `multiple knowledge_answers` messages, this value is set to
|
3664
|
+
# the greatest `knowledgeAnswers.match_confidence` value in the list.
|
3646
3665
|
# Corresponds to the JSON property `intentDetectionConfidence`
|
3647
3666
|
# @return [Float]
|
3648
3667
|
attr_accessor :intent_detection_confidence
|
@@ -1135,6 +1135,7 @@ module Google
|
|
1135
1135
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1136
1136
|
hash :payload, as: 'payload'
|
1137
1137
|
property :source, as: 'source'
|
1138
|
+
property :version, as: 'version'
|
1138
1139
|
end
|
1139
1140
|
end
|
1140
1141
|
|
@@ -1591,6 +1592,7 @@ module Google
|
|
1591
1592
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1592
1593
|
hash :payload, as: 'payload'
|
1593
1594
|
property :source, as: 'source'
|
1595
|
+
property :version, as: 'version'
|
1594
1596
|
end
|
1595
1597
|
end
|
1596
1598
|
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow-enterprise/
|
27
27
|
module DialogflowV2beta1
|
28
28
|
VERSION = 'V2beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180702'
|
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'
|
@@ -221,8 +221,9 @@ module Google
|
|
221
221
|
|
222
222
|
# The exported agent.
|
223
223
|
# Example for how to export an agent to a zip file via a command line:
|
224
|
-
# curl \
|
225
|
-
# 'https://dialogflow.googleapis.com/v2/projects
|
224
|
+
# <pre>curl \
|
225
|
+
# 'https://dialogflow.googleapis.com/v2/projects/<project_name>/agent:
|
226
|
+
# export'\
|
226
227
|
# -X POST \
|
227
228
|
# -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
|
228
229
|
# -H 'Accept: application/json' \
|
@@ -230,7 +231,7 @@ module Google
|
|
230
231
|
# --compressed \
|
231
232
|
# --data-binary '``' \
|
232
233
|
# | grep agentContent | sed -e 's/.*"agentContent": "\([^"]*\)".*/\1/' \
|
233
|
-
# | base64 --decode >
|
234
|
+
# | base64 --decode > <agent zip file></pre>
|
234
235
|
# Corresponds to the JSON property `agentContent`
|
235
236
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
236
237
|
# @return [String]
|
@@ -1190,6 +1191,12 @@ module Google
|
|
1190
1191
|
# @return [String]
|
1191
1192
|
attr_accessor :source
|
1192
1193
|
|
1194
|
+
# Optional. The version of the protocol used for this request.
|
1195
|
+
# This field is AoG-specific.
|
1196
|
+
# Corresponds to the JSON property `version`
|
1197
|
+
# @return [String]
|
1198
|
+
attr_accessor :version
|
1199
|
+
|
1193
1200
|
def initialize(**args)
|
1194
1201
|
update!(**args)
|
1195
1202
|
end
|
@@ -1198,6 +1205,7 @@ module Google
|
|
1198
1205
|
def update!(**args)
|
1199
1206
|
@payload = args[:payload] if args.key?(:payload)
|
1200
1207
|
@source = args[:source] if args.key?(:source)
|
1208
|
+
@version = args[:version] if args.key?(:version)
|
1201
1209
|
end
|
1202
1210
|
end
|
1203
1211
|
|
@@ -1245,6 +1253,8 @@ module Google
|
|
1245
1253
|
|
1246
1254
|
# The intent detection confidence. Values range from 0.0
|
1247
1255
|
# (completely uncertain) to 1.0 (completely certain).
|
1256
|
+
# If there are `multiple knowledge_answers` messages, this value is set to
|
1257
|
+
# the greatest `knowledgeAnswers.match_confidence` value in the list.
|
1248
1258
|
# Corresponds to the JSON property `intentDetectionConfidence`
|
1249
1259
|
# @return [Float]
|
1250
1260
|
attr_accessor :intent_detection_confidence
|
@@ -1815,12 +1825,10 @@ module Google
|
|
1815
1825
|
|
1816
1826
|
# Required. The unique identifier of the context. Format:
|
1817
1827
|
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
|
1818
|
-
# or
|
1819
|
-
#
|
1820
|
-
#
|
1821
|
-
#
|
1822
|
-
# always converted to lowercase. If <Environment ID> is not specified, we
|
1823
|
-
# assume default 'draft' environment. If <User ID> is not specified, we
|
1828
|
+
# or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
1829
|
+
# ID>/sessions/<Session ID>/contexts/<Context ID>`. The `Context ID` is
|
1830
|
+
# always converted to lowercase. If `Environment ID` is not specified, we
|
1831
|
+
# assume default 'draft' environment. If `User ID` is not specified, we
|
1824
1832
|
# assume default '-' user.
|
1825
1833
|
# Corresponds to the JSON property `name`
|
1826
1834
|
# @return [String]
|
@@ -2119,9 +2127,9 @@ module Google
|
|
2119
2127
|
|
2120
2128
|
# The exported agent.
|
2121
2129
|
# Example for how to export an agent to a zip file via a command line:
|
2122
|
-
# curl \
|
2123
|
-
# 'https://dialogflow.googleapis.com/v2beta1/projects
|
2124
|
-
# export'\
|
2130
|
+
# <pre>curl \
|
2131
|
+
# 'https://dialogflow.googleapis.com/v2beta1/projects/<project_name>/
|
2132
|
+
# agent:export'\
|
2125
2133
|
# -X POST \
|
2126
2134
|
# -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
|
2127
2135
|
# -H 'Accept: application/json' \
|
@@ -2129,7 +2137,7 @@ module Google
|
|
2129
2137
|
# --compressed \
|
2130
2138
|
# --data-binary '``' \
|
2131
2139
|
# | grep agentContent | sed -e 's/.*"agentContent": "\([^"]*\)".*/\1/' \
|
2132
|
-
# | base64 --decode >
|
2140
|
+
# | base64 --decode > <agent zip file></pre>
|
2133
2141
|
# Corresponds to the JSON property `agentContent`
|
2134
2142
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2135
2143
|
# @return [String]
|
@@ -2158,17 +2166,17 @@ module Google
|
|
2158
2166
|
|
2159
2167
|
# The agent to import.
|
2160
2168
|
# Example for how to import an agent via the command line:
|
2161
|
-
# curl \
|
2162
|
-
# 'https://dialogflow.googleapis.com/v2beta1/projects
|
2163
|
-
# import\
|
2169
|
+
# <pre>curl \
|
2170
|
+
# 'https://dialogflow.googleapis.com/v2beta1/projects/<project_name>/
|
2171
|
+
# agent:import\
|
2164
2172
|
# -X POST \
|
2165
2173
|
# -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
|
2166
2174
|
# -H 'Accept: application/json' \
|
2167
2175
|
# -H 'Content-Type: application/json' \
|
2168
2176
|
# --compressed \
|
2169
2177
|
# --data-binary "`
|
2170
|
-
# 'agentContent': '$(cat
|
2171
|
-
# `"
|
2178
|
+
# 'agentContent': '$(cat <agent zip file> | base64 -w 0)'
|
2179
|
+
# `"</pre>
|
2172
2180
|
# Corresponds to the JSON property `agentContent`
|
2173
2181
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2174
2182
|
# @return [String]
|
@@ -3342,6 +3350,12 @@ module Google
|
|
3342
3350
|
# @return [String]
|
3343
3351
|
attr_accessor :source
|
3344
3352
|
|
3353
|
+
# Optional. The version of the protocol used for this request.
|
3354
|
+
# This field is AoG-specific.
|
3355
|
+
# Corresponds to the JSON property `version`
|
3356
|
+
# @return [String]
|
3357
|
+
attr_accessor :version
|
3358
|
+
|
3345
3359
|
def initialize(**args)
|
3346
3360
|
update!(**args)
|
3347
3361
|
end
|
@@ -3350,6 +3364,7 @@ module Google
|
|
3350
3364
|
def update!(**args)
|
3351
3365
|
@payload = args[:payload] if args.key?(:payload)
|
3352
3366
|
@source = args[:source] if args.key?(:source)
|
3367
|
+
@version = args[:version] if args.key?(:version)
|
3353
3368
|
end
|
3354
3369
|
end
|
3355
3370
|
|
@@ -3498,6 +3513,8 @@ module Google
|
|
3498
3513
|
|
3499
3514
|
# The intent detection confidence. Values range from 0.0
|
3500
3515
|
# (completely uncertain) to 1.0 (completely certain).
|
3516
|
+
# If there are `multiple knowledge_answers` messages, this value is set to
|
3517
|
+
# the greatest `knowledgeAnswers.match_confidence` value in the list.
|
3501
3518
|
# Corresponds to the JSON property `intentDetectionConfidence`
|
3502
3519
|
# @return [Float]
|
3503
3520
|
attr_accessor :intent_detection_confidence
|
@@ -3586,17 +3603,17 @@ module Google
|
|
3586
3603
|
|
3587
3604
|
# The agent to restore.
|
3588
3605
|
# Example for how to restore an agent via the command line:
|
3589
|
-
# curl \
|
3590
|
-
# 'https://dialogflow.googleapis.com/v2beta1/projects
|
3591
|
-
# restore\
|
3606
|
+
# <pre>curl \
|
3607
|
+
# 'https://dialogflow.googleapis.com/v2beta1/projects/<project_name>/
|
3608
|
+
# agent:restore\
|
3592
3609
|
# -X POST \
|
3593
3610
|
# -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
|
3594
3611
|
# -H 'Accept: application/json' \
|
3595
3612
|
# -H 'Content-Type: application/json' \
|
3596
3613
|
# --compressed \
|
3597
3614
|
# --data-binary "`
|
3598
|
-
# 'agentContent': '$(cat
|
3599
|
-
# `"
|
3615
|
+
# 'agentContent': '$(cat <agent zip file> | base64 -w 0)'
|
3616
|
+
# `"</pre>
|
3600
3617
|
# Corresponds to the JSON property `agentContent`
|
3601
3618
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
3602
3619
|
# @return [String]
|
@@ -3670,11 +3687,9 @@ module Google
|
|
3670
3687
|
# `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
|
3671
3688
|
# Display Name>`, or
|
3672
3689
|
# `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
3673
|
-
# ID>/sessions
|
3674
|
-
#
|
3675
|
-
#
|
3676
|
-
# soon. If <Environment ID> is not specified, we assume default 'draft'
|
3677
|
-
# environment. If <User ID> is not specified, we assume default '-' user.
|
3690
|
+
# ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`.
|
3691
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
3692
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
3678
3693
|
# Corresponds to the JSON property `name`
|
3679
3694
|
# @return [String]
|
3680
3695
|
attr_accessor :name
|