google-api-client 0.30.9 → 0.30.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +89 -0
- data/api_names.yaml +1 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +18 -7
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +5 -10
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +24 -12
- data/generated/google/apis/adexperiencereport_v1/service.rb +6 -9
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +3 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +62 -9
- data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +32 -9
- data/generated/google/apis/bigquery_v2/representations.rb +5 -0
- data/generated/google/apis/bigquery_v2/service.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +37 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +645 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +263 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +378 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +41 -16
- data/generated/google/apis/bigtableadmin_v2/representations.rb +15 -0
- data/generated/google/apis/binaryauthorization_v1.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1/classes.rb +388 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +167 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +313 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -6
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +52 -1
- data/generated/google/apis/cloudasset_v1/representations.rb +17 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +11 -4
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -14
- data/generated/google/apis/cloudkms_v1/representations.rb +0 -2
- data/generated/google/apis/cloudkms_v1/service.rb +3 -3
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +5 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -8
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +6 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -4
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +14 -3
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -0
- data/generated/google/apis/cloudtrace_v2/representations.rb +1 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +1 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +17 -24
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +17 -24
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1139 -284
- data/generated/google/apis/compute_alpha/representations.rb +304 -1
- data/generated/google/apis/compute_alpha/service.rb +935 -23
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +554 -98
- data/generated/google/apis/compute_beta/representations.rb +117 -0
- data/generated/google/apis/compute_beta/service.rb +63 -19
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1187 -165
- data/generated/google/apis/compute_v1/representations.rb +402 -0
- data/generated/google/apis/compute_v1/service.rb +832 -12
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +36 -0
- data/generated/google/apis/container_v1/representations.rb +16 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +153 -0
- data/generated/google/apis/container_v1beta1/representations.rb +77 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +93 -2
- data/generated/google/apis/content_v2/representations.rb +37 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +86 -2
- data/generated/google/apis/content_v2_1/representations.rb +36 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +21 -106
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -58
- data/generated/google/apis/dataflow_v1b3/service.rb +0 -327
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +7 -0
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +9 -75
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +9 -75
- data/generated/google/apis/dfareporting_v3_1.rb +1 -1
- data/generated/google/apis/dfareporting_v3_1/classes.rb +42 -302
- data/generated/google/apis/dfareporting_v3_1/representations.rb +8 -84
- data/generated/google/apis/dfareporting_v3_1/service.rb +5 -107
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +118 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +70 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +75 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +42 -0
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +125 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +128 -0
- data/generated/google/apis/docs_v1/representations.rb +49 -0
- data/generated/google/apis/{appstate_v1.rb → domainsrdap_v1.rb} +8 -11
- data/generated/google/apis/domainsrdap_v1/classes.rb +269 -0
- data/generated/google/apis/{appstate_v1 → domainsrdap_v1}/representations.rb +33 -22
- data/generated/google/apis/domainsrdap_v1/service.rb +350 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +10 -1
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +10 -1
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +21 -130
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +16 -122
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +14 -83
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +94 -48
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +16 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +117 -75
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +56 -2
- data/generated/google/apis/healthcare_v1beta1/representations.rb +17 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +10 -5
- data/generated/google/apis/homegraph_v1.rb +31 -0
- data/generated/google/apis/homegraph_v1/classes.rb +692 -0
- data/generated/google/apis/homegraph_v1/representations.rb +323 -0
- data/generated/google/apis/homegraph_v1/service.rb +255 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +8 -7
- data/generated/google/apis/logging_v2/service.rb +40 -35
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +6 -1
- data/generated/google/apis/pubsub_v1/service.rb +15 -9
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -1
- data/generated/google/apis/pubsub_v1beta2/service.rb +10 -6
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +26 -6
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1/service.rb +5 -3
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +5 -3
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/service.rb +6 -5
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +11 -4
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +11 -4
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +6 -1
- data/generated/google/apis/servicebroker_v1/service.rb +5 -3
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -1
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +5 -3
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -1
- data/generated/google/apis/servicebroker_v1beta1/service.rb +5 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -4
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +11 -4
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -4
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -4
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +30 -4
- data/generated/google/apis/serviceusage_v1/representations.rb +14 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +30 -4
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +14 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +9 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +17 -15
- data/generated/google/apis/speech_v2beta.rb +1 -1
- data/generated/google/apis/speech_v2beta/classes.rb +3 -3
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +72 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +35 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -1
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storage_v1/service.rb +6 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/service.rb +1 -9
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +19 -0
- data/generated/google/apis/testing_v1/representations.rb +3 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -0
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +33 -0
- data/generated/google/apis/translate_v3beta1/representations.rb +3 -0
- data/generated/google/apis/verifiedaccess_v1.rb +35 -0
- data/generated/google/apis/verifiedaccess_v1/classes.rb +174 -0
- data/generated/google/apis/verifiedaccess_v1/representations.rb +99 -0
- data/generated/google/apis/verifiedaccess_v1/service.rb +120 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +204 -2375
- data/generated/google/apis/vision_v1/representations.rb +701 -1634
- data/generated/google/apis/vision_v1/service.rb +17 -17
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +135 -2306
- data/generated/google/apis/vision_v1p1beta1/representations.rb +768 -1701
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +326 -2161
- data/generated/google/apis/vision_v1p2beta1/representations.rb +897 -1710
- 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/classes.rb +8 -2
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +22 -6
- data/generated/google/apis/appstate_v1/classes.rb +0 -154
- data/generated/google/apis/appstate_v1/service.rb +0 -249
@@ -382,6 +382,12 @@ module Google
|
|
382
382
|
include Google::Apis::Core::JsonObjectSupport
|
383
383
|
end
|
384
384
|
|
385
|
+
class ServiceIdentity
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
385
391
|
class SourceContext
|
386
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
393
|
|
@@ -1082,6 +1088,14 @@ module Google
|
|
1082
1088
|
end
|
1083
1089
|
end
|
1084
1090
|
|
1091
|
+
class ServiceIdentity
|
1092
|
+
# @private
|
1093
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1094
|
+
property :email, as: 'email'
|
1095
|
+
property :unique_id, as: 'uniqueId'
|
1096
|
+
end
|
1097
|
+
end
|
1098
|
+
|
1085
1099
|
class SourceContext
|
1086
1100
|
# @private
|
1087
1101
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-usage/
|
28
28
|
module ServiceusageV1beta1
|
29
29
|
VERSION = 'V1beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20190907'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -3287,10 +3287,7 @@ module Google
|
|
3287
3287
|
# @return [String]
|
3288
3288
|
attr_accessor :display_name
|
3289
3289
|
|
3290
|
-
# Duration of this limit in textual notation.
|
3291
|
-
# For duration longer than a day, only multiple of days is supported. We
|
3292
|
-
# support only "100s" and "1d" for now. Additional support will be added in
|
3293
|
-
# the future. "0" indicates indefinite duration.
|
3290
|
+
# Duration of this limit in textual notation. Must be "100s" or "1d".
|
3294
3291
|
# Used by group-based quotas only.
|
3295
3292
|
# Corresponds to the JSON property `duration`
|
3296
3293
|
# @return [String]
|
@@ -3631,6 +3628,35 @@ module Google
|
|
3631
3628
|
end
|
3632
3629
|
end
|
3633
3630
|
|
3631
|
+
# Service identity for a service. This is the identity that service producer
|
3632
|
+
# should use to access consumer resources.
|
3633
|
+
class ServiceIdentity
|
3634
|
+
include Google::Apis::Core::Hashable
|
3635
|
+
|
3636
|
+
# The email address of the service account that a service producer would use
|
3637
|
+
# to access consumer resources.
|
3638
|
+
# Corresponds to the JSON property `email`
|
3639
|
+
# @return [String]
|
3640
|
+
attr_accessor :email
|
3641
|
+
|
3642
|
+
# The unique and stable id of the service account.
|
3643
|
+
# https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts#
|
3644
|
+
# ServiceAccount
|
3645
|
+
# Corresponds to the JSON property `uniqueId`
|
3646
|
+
# @return [String]
|
3647
|
+
attr_accessor :unique_id
|
3648
|
+
|
3649
|
+
def initialize(**args)
|
3650
|
+
update!(**args)
|
3651
|
+
end
|
3652
|
+
|
3653
|
+
# Update properties of this object
|
3654
|
+
def update!(**args)
|
3655
|
+
@email = args[:email] if args.key?(:email)
|
3656
|
+
@unique_id = args[:unique_id] if args.key?(:unique_id)
|
3657
|
+
end
|
3658
|
+
end
|
3659
|
+
|
3634
3660
|
# `SourceContext` represents information about the source of a
|
3635
3661
|
# protobuf element, like the file in which it is defined.
|
3636
3662
|
class SourceContext
|
@@ -388,6 +388,12 @@ module Google
|
|
388
388
|
include Google::Apis::Core::JsonObjectSupport
|
389
389
|
end
|
390
390
|
|
391
|
+
class ServiceIdentity
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
391
397
|
class SourceContext
|
392
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
399
|
|
@@ -1112,6 +1118,14 @@ module Google
|
|
1112
1118
|
end
|
1113
1119
|
end
|
1114
1120
|
|
1121
|
+
class ServiceIdentity
|
1122
|
+
# @private
|
1123
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1124
|
+
property :email, as: 'email'
|
1125
|
+
property :unique_id, as: 'uniqueId'
|
1126
|
+
end
|
1127
|
+
end
|
1128
|
+
|
1115
1129
|
class SourceContext
|
1116
1130
|
# @private
|
1117
1131
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/slides/
|
26
26
|
module SlidesV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190826'
|
29
29
|
|
30
30
|
# See, edit, create, and delete all of your Google Drive files
|
31
31
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
@@ -2873,7 +2873,7 @@ module Google
|
|
2873
2873
|
# @return [String]
|
2874
2874
|
attr_accessor :image_replace_method
|
2875
2875
|
|
2876
|
-
# The URL
|
2876
|
+
# The image URL.
|
2877
2877
|
# The image is fetched once at insertion time and a copy is stored for
|
2878
2878
|
# display inside the presentation. Images must be less than 50MB in size,
|
2879
2879
|
# cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
26
26
|
module SpeechV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190823'
|
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'
|
@@ -89,7 +89,7 @@ module Google
|
|
89
89
|
# Contains audio data in the encoding specified in the `RecognitionConfig`.
|
90
90
|
# Either `content` or `uri` must be supplied. Supplying both or neither
|
91
91
|
# returns google.rpc.Code.INVALID_ARGUMENT. See
|
92
|
-
# [content limits](/speech-to-text/quotas#content).
|
92
|
+
# [content limits](https://cloud.google.com/speech-to-text/quotas#content).
|
93
93
|
# Corresponds to the JSON property `audio`
|
94
94
|
# @return [Google::Apis::SpeechV1::RecognitionAudio]
|
95
95
|
attr_accessor :audio
|
@@ -202,7 +202,7 @@ module Google
|
|
202
202
|
# Contains audio data in the encoding specified in the `RecognitionConfig`.
|
203
203
|
# Either `content` or `uri` must be supplied. Supplying both or neither
|
204
204
|
# returns google.rpc.Code.INVALID_ARGUMENT. See
|
205
|
-
# [content limits](/speech-to-text/quotas#content).
|
205
|
+
# [content limits](https://cloud.google.com/speech-to-text/quotas#content).
|
206
206
|
class RecognitionAudio
|
207
207
|
include Google::Apis::Core::Hashable
|
208
208
|
|
@@ -296,8 +296,9 @@ module Google
|
|
296
296
|
# *Required* The language of the supplied audio as a
|
297
297
|
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
|
298
298
|
# Example: "en-US".
|
299
|
-
# See [Language
|
300
|
-
# for a list
|
299
|
+
# See [Language
|
300
|
+
# Support](https://cloud.google.com/speech-to-text/docs/languages) for a list
|
301
|
+
# of the currently supported language codes.
|
301
302
|
# Corresponds to the JSON property `languageCode`
|
302
303
|
# @return [String]
|
303
304
|
attr_accessor :language_code
|
@@ -376,7 +377,8 @@ module Google
|
|
376
377
|
# *Optional* array of SpeechContext.
|
377
378
|
# A means to provide context to assist the speech recognition. For more
|
378
379
|
# information, see
|
379
|
-
# [speech
|
380
|
+
# [speech
|
381
|
+
# adaptation](https://cloud.google.com/speech-to-text/docs/context-strength).
|
380
382
|
# Corresponds to the JSON property `speechContexts`
|
381
383
|
# @return [Array<Google::Apis::SpeechV1::SpeechContext>]
|
382
384
|
attr_accessor :speech_contexts
|
@@ -499,7 +501,7 @@ module Google
|
|
499
501
|
# Contains audio data in the encoding specified in the `RecognitionConfig`.
|
500
502
|
# Either `content` or `uri` must be supplied. Supplying both or neither
|
501
503
|
# returns google.rpc.Code.INVALID_ARGUMENT. See
|
502
|
-
# [content limits](/speech-to-text/quotas#content).
|
504
|
+
# [content limits](https://cloud.google.com/speech-to-text/quotas#content).
|
503
505
|
# Corresponds to the JSON property `audio`
|
504
506
|
# @return [Google::Apis::SpeechV1::RecognitionAudio]
|
505
507
|
attr_accessor :audio
|
@@ -553,7 +555,7 @@ module Google
|
|
553
555
|
# to improve the accuracy for specific words and phrases, for example, if
|
554
556
|
# specific commands are typically spoken by the user. This can also be used
|
555
557
|
# to add additional words to the vocabulary of the recognizer. See
|
556
|
-
# [usage limits](/speech-to-text/quotas#content).
|
558
|
+
# [usage limits](https://cloud.google.com/speech-to-text/quotas#content).
|
557
559
|
# List items can also be set to classes for groups of words that represent
|
558
560
|
# common concepts that occur in natural language. For example, rather than
|
559
561
|
# providing phrase hints for every month of the year, using the $MONTH class
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
26
26
|
module SpeechV1p1beta1
|
27
27
|
VERSION = 'V1p1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190823'
|
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'
|
@@ -89,7 +89,7 @@ module Google
|
|
89
89
|
# Contains audio data in the encoding specified in the `RecognitionConfig`.
|
90
90
|
# Either `content` or `uri` must be supplied. Supplying both or neither
|
91
91
|
# returns google.rpc.Code.INVALID_ARGUMENT. See
|
92
|
-
# [content limits](/speech-to-text/quotas#content).
|
92
|
+
# [content limits](https://cloud.google.com/speech-to-text/quotas#content).
|
93
93
|
# Corresponds to the JSON property `audio`
|
94
94
|
# @return [Google::Apis::SpeechV1p1beta1::RecognitionAudio]
|
95
95
|
attr_accessor :audio
|
@@ -202,7 +202,7 @@ module Google
|
|
202
202
|
# Contains audio data in the encoding specified in the `RecognitionConfig`.
|
203
203
|
# Either `content` or `uri` must be supplied. Supplying both or neither
|
204
204
|
# returns google.rpc.Code.INVALID_ARGUMENT. See
|
205
|
-
# [content limits](/speech-to-text/quotas#content).
|
205
|
+
# [content limits](https://cloud.google.com/speech-to-text/quotas#content).
|
206
206
|
class RecognitionAudio
|
207
207
|
include Google::Apis::Core::Hashable
|
208
208
|
|
@@ -244,14 +244,14 @@ module Google
|
|
244
244
|
# *Optional* A list of up to 3 additional
|
245
245
|
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
|
246
246
|
# listing possible alternative languages of the supplied audio.
|
247
|
-
# See [Language
|
248
|
-
# for a list
|
249
|
-
#
|
250
|
-
# recognition in the most likely
|
251
|
-
# language_code. The recognition result
|
252
|
-
# of the language detected in the audio.
|
253
|
-
#
|
254
|
-
#
|
247
|
+
# See [Language
|
248
|
+
# Support](https://cloud.google.com/speech-to-text/docs/languages) for a list
|
249
|
+
# of the currently supported language codes. If alternative languages are
|
250
|
+
# listed, recognition result will contain recognition in the most likely
|
251
|
+
# language detected including the main language_code. The recognition result
|
252
|
+
# will include the language tag of the language detected in the audio. Note:
|
253
|
+
# This feature is only supported for Voice Command and Voice Search use cases
|
254
|
+
# and performance may vary for other use cases (e.g., phone call
|
255
255
|
# transcription).
|
256
256
|
# Corresponds to the JSON property `alternativeLanguageCodes`
|
257
257
|
# @return [Array<String>]
|
@@ -342,8 +342,9 @@ module Google
|
|
342
342
|
# *Required* The language of the supplied audio as a
|
343
343
|
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
|
344
344
|
# Example: "en-US".
|
345
|
-
# See [Language
|
346
|
-
# for a list
|
345
|
+
# See [Language
|
346
|
+
# Support](https://cloud.google.com/speech-to-text/docs/languages) for a list
|
347
|
+
# of the currently supported language codes.
|
347
348
|
# Corresponds to the JSON property `languageCode`
|
348
349
|
# @return [String]
|
349
350
|
attr_accessor :language_code
|
@@ -422,7 +423,8 @@ module Google
|
|
422
423
|
# *Optional* array of SpeechContext.
|
423
424
|
# A means to provide context to assist the speech recognition. For more
|
424
425
|
# information, see
|
425
|
-
# [speech
|
426
|
+
# [speech
|
427
|
+
# adaptation](https://cloud.google.com/speech-to-text/docs/context-strength).
|
426
428
|
# Corresponds to the JSON property `speechContexts`
|
427
429
|
# @return [Array<Google::Apis::SpeechV1p1beta1::SpeechContext>]
|
428
430
|
attr_accessor :speech_contexts
|
@@ -550,7 +552,7 @@ module Google
|
|
550
552
|
# Contains audio data in the encoding specified in the `RecognitionConfig`.
|
551
553
|
# Either `content` or `uri` must be supplied. Supplying both or neither
|
552
554
|
# returns google.rpc.Code.INVALID_ARGUMENT. See
|
553
|
-
# [content limits](/speech-to-text/quotas#content).
|
555
|
+
# [content limits](https://cloud.google.com/speech-to-text/quotas#content).
|
554
556
|
# Corresponds to the JSON property `audio`
|
555
557
|
# @return [Google::Apis::SpeechV1p1beta1::RecognitionAudio]
|
556
558
|
attr_accessor :audio
|
@@ -662,7 +664,7 @@ module Google
|
|
662
664
|
# to improve the accuracy for specific words and phrases, for example, if
|
663
665
|
# specific commands are typically spoken by the user. This can also be used
|
664
666
|
# to add additional words to the vocabulary of the recognizer. See
|
665
|
-
# [usage limits](/speech-to-text/quotas#content).
|
667
|
+
# [usage limits](https://cloud.google.com/speech-to-text/quotas#content).
|
666
668
|
# List items can also be set to classes for groups of words that represent
|
667
669
|
# common concepts that occur in natural language. For example, rather than
|
668
670
|
# providing phrase hints for every month of the year, using the $MONTH class
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
26
26
|
module SpeechV2beta
|
27
27
|
VERSION = 'V2beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190830'
|
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'
|
@@ -83,7 +83,7 @@ module Google
|
|
83
83
|
end
|
84
84
|
|
85
85
|
# The only message returned to the client by the `LongRunningRecognize` method.
|
86
|
-
# It contains the result as zero or more sequential
|
86
|
+
# It contains the result as zero or more sequential SpeechRecognitionResult
|
87
87
|
# messages. It is included in the `result.response` field of the `Operation`
|
88
88
|
# returned by the `GetOperation` call of the `google::longrunning::Operations`
|
89
89
|
# service.
|
@@ -224,7 +224,7 @@ module Google
|
|
224
224
|
# Output only. For multi-channel audio, this is the channel number corresponding
|
225
225
|
# to the
|
226
226
|
# recognized result for the audio from that channel.
|
227
|
-
# For audio_channel_count = N, its output values can range from
|
227
|
+
# For `audio_channel_count` = N, its output values can range from `1` to `N`.
|
228
228
|
# Corresponds to the JSON property `channelTag`
|
229
229
|
# @return [Fixnum]
|
230
230
|
attr_accessor :channel_tag
|
@@ -315,7 +315,7 @@ module Google
|
|
315
315
|
|
316
316
|
# Output only. A distinct integer value is assigned for every speaker within
|
317
317
|
# the audio. This field specifies which one of those speakers was detected to
|
318
|
-
# have spoken this word. Value ranges from
|
318
|
+
# have spoken this word. Value ranges from `1` to
|
319
319
|
# `diarization_speaker_count`. speaker_tag is set if
|
320
320
|
# `enable_speaker_diarization` = `true` and only in the top alternative.
|
321
321
|
# Corresponds to the JSON property `speakerTag`
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/sql/docs/reference/latest
|
27
27
|
module SqladminV1beta4
|
28
28
|
VERSION = 'V1beta4'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190827'
|
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'
|
@@ -148,6 +148,16 @@ module Google
|
|
148
148
|
# @return [String]
|
149
149
|
attr_accessor :description
|
150
150
|
|
151
|
+
# Disk encryption configuration.
|
152
|
+
# Corresponds to the JSON property `diskEncryptionConfiguration`
|
153
|
+
# @return [Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration]
|
154
|
+
attr_accessor :disk_encryption_configuration
|
155
|
+
|
156
|
+
# Disk encryption status.
|
157
|
+
# Corresponds to the JSON property `diskEncryptionStatus`
|
158
|
+
# @return [Google::Apis::SqladminV1beta4::DiskEncryptionStatus]
|
159
|
+
attr_accessor :disk_encryption_status
|
160
|
+
|
151
161
|
# The time the backup operation completed in UTC timezone in RFC 3339 format,
|
152
162
|
# for example 2012-11-15T16:19:00.094Z.
|
153
163
|
# Corresponds to the JSON property `endTime`
|
@@ -220,6 +230,8 @@ module Google
|
|
220
230
|
# Update properties of this object
|
221
231
|
def update!(**args)
|
222
232
|
@description = args[:description] if args.key?(:description)
|
233
|
+
@disk_encryption_configuration = args[:disk_encryption_configuration] if args.key?(:disk_encryption_configuration)
|
234
|
+
@disk_encryption_status = args[:disk_encryption_status] if args.key?(:disk_encryption_status)
|
223
235
|
@end_time = args[:end_time] if args.key?(:end_time)
|
224
236
|
@enqueued_time = args[:enqueued_time] if args.key?(:enqueued_time)
|
225
237
|
@error = args[:error] if args.key?(:error)
|
@@ -1133,6 +1145,11 @@ module Google
|
|
1133
1145
|
class ImportContext
|
1134
1146
|
include Google::Apis::Core::Hashable
|
1135
1147
|
|
1148
|
+
# Import parameters specific to SQL Server .BAK files
|
1149
|
+
# Corresponds to the JSON property `bakImportOptions`
|
1150
|
+
# @return [Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions]
|
1151
|
+
attr_accessor :bak_import_options
|
1152
|
+
|
1136
1153
|
# Options for importing data as CSV.
|
1137
1154
|
# Corresponds to the JSON property `csvImportOptions`
|
1138
1155
|
# @return [Google::Apis::SqladminV1beta4::ImportContext::CsvImportOptions]
|
@@ -1176,6 +1193,7 @@ module Google
|
|
1176
1193
|
|
1177
1194
|
# Update properties of this object
|
1178
1195
|
def update!(**args)
|
1196
|
+
@bak_import_options = args[:bak_import_options] if args.key?(:bak_import_options)
|
1179
1197
|
@csv_import_options = args[:csv_import_options] if args.key?(:csv_import_options)
|
1180
1198
|
@database = args[:database] if args.key?(:database)
|
1181
1199
|
@file_type = args[:file_type] if args.key?(:file_type)
|
@@ -1184,6 +1202,60 @@ module Google
|
|
1184
1202
|
@uri = args[:uri] if args.key?(:uri)
|
1185
1203
|
end
|
1186
1204
|
|
1205
|
+
# Import parameters specific to SQL Server .BAK files
|
1206
|
+
class BakImportOptions
|
1207
|
+
include Google::Apis::Core::Hashable
|
1208
|
+
|
1209
|
+
#
|
1210
|
+
# Corresponds to the JSON property `encryptionOptions`
|
1211
|
+
# @return [Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions]
|
1212
|
+
attr_accessor :encryption_options
|
1213
|
+
|
1214
|
+
def initialize(**args)
|
1215
|
+
update!(**args)
|
1216
|
+
end
|
1217
|
+
|
1218
|
+
# Update properties of this object
|
1219
|
+
def update!(**args)
|
1220
|
+
@encryption_options = args[:encryption_options] if args.key?(:encryption_options)
|
1221
|
+
end
|
1222
|
+
|
1223
|
+
#
|
1224
|
+
class EncryptionOptions
|
1225
|
+
include Google::Apis::Core::Hashable
|
1226
|
+
|
1227
|
+
# Path to the Certificate (.cer) in Cloud Storage, in the form gs://bucketName/
|
1228
|
+
# fileName. The instance must have write permissions to the bucket and read
|
1229
|
+
# access to the file.
|
1230
|
+
# Corresponds to the JSON property `certPath`
|
1231
|
+
# @return [String]
|
1232
|
+
attr_accessor :cert_path
|
1233
|
+
|
1234
|
+
# Password that encrypts the private key
|
1235
|
+
# Corresponds to the JSON property `pvkPassword`
|
1236
|
+
# @return [String]
|
1237
|
+
attr_accessor :pvk_password
|
1238
|
+
|
1239
|
+
# Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form gs://
|
1240
|
+
# bucketName/fileName. The instance must have write permissions to the bucket
|
1241
|
+
# and read access to the file.
|
1242
|
+
# Corresponds to the JSON property `pvkPath`
|
1243
|
+
# @return [String]
|
1244
|
+
attr_accessor :pvk_path
|
1245
|
+
|
1246
|
+
def initialize(**args)
|
1247
|
+
update!(**args)
|
1248
|
+
end
|
1249
|
+
|
1250
|
+
# Update properties of this object
|
1251
|
+
def update!(**args)
|
1252
|
+
@cert_path = args[:cert_path] if args.key?(:cert_path)
|
1253
|
+
@pvk_password = args[:pvk_password] if args.key?(:pvk_password)
|
1254
|
+
@pvk_path = args[:pvk_path] if args.key?(:pvk_path)
|
1255
|
+
end
|
1256
|
+
end
|
1257
|
+
end
|
1258
|
+
|
1187
1259
|
# Options for importing data as CSV.
|
1188
1260
|
class CsvImportOptions
|
1189
1261
|
include Google::Apis::Core::Hashable
|
@@ -169,6 +169,18 @@ module Google
|
|
169
169
|
class ImportContext
|
170
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
171
|
|
172
|
+
class BakImportOptions
|
173
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
174
|
+
|
175
|
+
class EncryptionOptions
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
include Google::Apis::Core::JsonObjectSupport
|
182
|
+
end
|
183
|
+
|
172
184
|
class CsvImportOptions
|
173
185
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
174
186
|
|
@@ -423,6 +435,10 @@ module Google
|
|
423
435
|
# @private
|
424
436
|
class Representation < Google::Apis::Core::JsonRepresentation
|
425
437
|
property :description, as: 'description'
|
438
|
+
property :disk_encryption_configuration, as: 'diskEncryptionConfiguration', class: Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration, decorator: Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration::Representation
|
439
|
+
|
440
|
+
property :disk_encryption_status, as: 'diskEncryptionStatus', class: Google::Apis::SqladminV1beta4::DiskEncryptionStatus, decorator: Google::Apis::SqladminV1beta4::DiskEncryptionStatus::Representation
|
441
|
+
|
426
442
|
property :end_time, as: 'endTime', type: DateTime
|
427
443
|
|
428
444
|
property :enqueued_time, as: 'enqueuedTime', type: DateTime
|
@@ -675,6 +691,8 @@ module Google
|
|
675
691
|
class ImportContext
|
676
692
|
# @private
|
677
693
|
class Representation < Google::Apis::Core::JsonRepresentation
|
694
|
+
property :bak_import_options, as: 'bakImportOptions', class: Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions, decorator: Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::Representation
|
695
|
+
|
678
696
|
property :csv_import_options, as: 'csvImportOptions', class: Google::Apis::SqladminV1beta4::ImportContext::CsvImportOptions, decorator: Google::Apis::SqladminV1beta4::ImportContext::CsvImportOptions::Representation
|
679
697
|
|
680
698
|
property :database, as: 'database'
|
@@ -684,6 +702,23 @@ module Google
|
|
684
702
|
property :uri, as: 'uri'
|
685
703
|
end
|
686
704
|
|
705
|
+
class BakImportOptions
|
706
|
+
# @private
|
707
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
708
|
+
property :encryption_options, as: 'encryptionOptions', class: Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions, decorator: Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions::Representation
|
709
|
+
|
710
|
+
end
|
711
|
+
|
712
|
+
class EncryptionOptions
|
713
|
+
# @private
|
714
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
715
|
+
property :cert_path, as: 'certPath'
|
716
|
+
property :pvk_password, as: 'pvkPassword'
|
717
|
+
property :pvk_path, as: 'pvkPath'
|
718
|
+
end
|
719
|
+
end
|
720
|
+
end
|
721
|
+
|
687
722
|
class CsvImportOptions
|
688
723
|
# @private
|
689
724
|
class Representation < Google::Apis::Core::JsonRepresentation
|