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
@@ -262,6 +262,12 @@ module Google
|
|
262
262
|
include Google::Apis::Core::JsonObjectSupport
|
263
263
|
end
|
264
264
|
|
265
|
+
class MetricDescriptorMetadata
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
265
271
|
class MetricThreshold
|
266
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
273
|
|
@@ -803,6 +809,8 @@ module Google
|
|
803
809
|
property :display_name, as: 'displayName'
|
804
810
|
collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation
|
805
811
|
|
812
|
+
property :metadata, as: 'metadata', class: Google::Apis::MonitoringV3::MetricDescriptorMetadata, decorator: Google::Apis::MonitoringV3::MetricDescriptorMetadata::Representation
|
813
|
+
|
806
814
|
property :metric_kind, as: 'metricKind'
|
807
815
|
property :name, as: 'name'
|
808
816
|
property :type, as: 'type'
|
@@ -811,6 +819,15 @@ module Google
|
|
811
819
|
end
|
812
820
|
end
|
813
821
|
|
822
|
+
class MetricDescriptorMetadata
|
823
|
+
# @private
|
824
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
825
|
+
property :ingest_delay, as: 'ingestDelay'
|
826
|
+
property :launch_stage, as: 'launchStage'
|
827
|
+
property :sample_period, as: 'samplePeriod'
|
828
|
+
end
|
829
|
+
end
|
830
|
+
|
814
831
|
class MetricThreshold
|
815
832
|
# @private
|
816
833
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/compute/docs/oslogin/rest/
|
26
26
|
module OsloginV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180617'
|
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'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/compute/docs/oslogin/rest/
|
26
26
|
module OsloginV1alpha
|
27
27
|
VERSION = 'V1alpha'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180617'
|
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'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/compute/docs/oslogin/rest/
|
26
26
|
module OsloginV1beta
|
27
27
|
VERSION = 'V1beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180617'
|
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'
|
@@ -458,6 +458,15 @@ module Google
|
|
458
458
|
class PresentationParams
|
459
459
|
include Google::Apis::Core::Hashable
|
460
460
|
|
461
|
+
# A background color which could be used for displaying the 3D asset in a
|
462
|
+
# 'thumbnail' or 'palette' style view. Authors have the option to set this
|
463
|
+
# background color when publishing or editing their asset.
|
464
|
+
# This is represented as a six-digit hexademical triplet specifying the
|
465
|
+
# RGB components of the background color, e.g. #FF0000 for Red.
|
466
|
+
# Corresponds to the JSON property `backgroundColor`
|
467
|
+
# @return [String]
|
468
|
+
attr_accessor :background_color
|
469
|
+
|
461
470
|
# The materials' diffuse/albedo color. This does not apply to vertex colors
|
462
471
|
# or texture maps.
|
463
472
|
# Corresponds to the JSON property `colorSpace`
|
@@ -477,6 +486,7 @@ module Google
|
|
477
486
|
|
478
487
|
# Update properties of this object
|
479
488
|
def update!(**args)
|
489
|
+
@background_color = args[:background_color] if args.key?(:background_color)
|
480
490
|
@color_space = args[:color_space] if args.key?(:color_space)
|
481
491
|
@orienting_rotation = args[:orienting_rotation] if args.key?(:orienting_rotation)
|
482
492
|
end
|
@@ -521,14 +531,14 @@ module Google
|
|
521
531
|
end
|
522
532
|
end
|
523
533
|
|
524
|
-
# A response message from a request to
|
534
|
+
# A response message from a request to startImport.
|
525
535
|
# This is returned in the response field of the Operation.
|
526
536
|
class StartAssetImportResponse
|
527
537
|
include Google::Apis::Core::Hashable
|
528
538
|
|
529
539
|
# The id of newly created asset. If this is empty when the operation is
|
530
540
|
# complete it means the import failed. Please refer to the
|
531
|
-
#
|
541
|
+
# assetImportMessages field to understand what went wrong.
|
532
542
|
# Corresponds to the JSON property `assetId`
|
533
543
|
# @return [String]
|
534
544
|
attr_accessor :asset_id
|
@@ -223,6 +223,7 @@ module Google
|
|
223
223
|
class PresentationParams
|
224
224
|
# @private
|
225
225
|
class Representation < Google::Apis::Core::JsonRepresentation
|
226
|
+
property :background_color, as: 'backgroundColor'
|
226
227
|
property :color_space, as: 'colorSpace'
|
227
228
|
property :orienting_rotation, as: 'orientingRotation', class: Google::Apis::PolyV1::Quaternion, decorator: Google::Apis::PolyV1::Quaternion::Representation
|
228
229
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/beacons/proximity/
|
26
26
|
module ProximitybeaconV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180610'
|
29
29
|
|
30
30
|
# View and modify your beacons
|
31
31
|
AUTH_USERLOCATION_BEACON_REGISTRY = 'https://www.googleapis.com/auth/userlocation.beacon.registry'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/pubsub/docs
|
26
26
|
module PubsubV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180626'
|
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'
|
@@ -90,6 +90,11 @@ module Google
|
|
90
90
|
class CreateSnapshotRequest
|
91
91
|
include Google::Apis::Core::Hashable
|
92
92
|
|
93
|
+
# User labels.
|
94
|
+
# Corresponds to the JSON property `labels`
|
95
|
+
# @return [Hash<String,String>]
|
96
|
+
attr_accessor :labels
|
97
|
+
|
93
98
|
# The subscription whose backlog the snapshot retains.
|
94
99
|
# Specifically, the created snapshot is guaranteed to retain:
|
95
100
|
# (a) The existing backlog on the subscription. More precisely, this is
|
@@ -109,6 +114,7 @@ module Google
|
|
109
114
|
|
110
115
|
# Update properties of this object
|
111
116
|
def update!(**args)
|
117
|
+
@labels = args[:labels] if args.key?(:labels)
|
112
118
|
@subscription = args[:subscription] if args.key?(:subscription)
|
113
119
|
end
|
114
120
|
end
|
@@ -518,10 +524,10 @@ module Google
|
|
518
524
|
class PullResponse
|
519
525
|
include Google::Apis::Core::Hashable
|
520
526
|
|
521
|
-
# Received Pub/Sub messages. The
|
522
|
-
#
|
523
|
-
# fewer than the `maxMessages` requested
|
524
|
-
# available in the backlog.
|
527
|
+
# Received Pub/Sub messages. The list will be empty if there are no more
|
528
|
+
# messages available in the backlog. For JSON, the response can be entirely
|
529
|
+
# empty. The Pub/Sub system may return fewer than the `maxMessages` requested
|
530
|
+
# even if there are more messages available in the backlog.
|
525
531
|
# Corresponds to the JSON property `receivedMessages`
|
526
532
|
# @return [Array<Google::Apis::PubsubV1::ReceivedMessage>]
|
527
533
|
attr_accessor :received_messages
|
@@ -732,6 +738,11 @@ module Google
|
|
732
738
|
# @return [String]
|
733
739
|
attr_accessor :expire_time
|
734
740
|
|
741
|
+
# User labels.
|
742
|
+
# Corresponds to the JSON property `labels`
|
743
|
+
# @return [Hash<String,String>]
|
744
|
+
attr_accessor :labels
|
745
|
+
|
735
746
|
# The name of the snapshot.
|
736
747
|
# Corresponds to the JSON property `name`
|
737
748
|
# @return [String]
|
@@ -749,6 +760,7 @@ module Google
|
|
749
760
|
# Update properties of this object
|
750
761
|
def update!(**args)
|
751
762
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
763
|
+
@labels = args[:labels] if args.key?(:labels)
|
752
764
|
@name = args[:name] if args.key?(:name)
|
753
765
|
@topic = args[:topic] if args.key?(:topic)
|
754
766
|
end
|
@@ -779,6 +791,11 @@ module Google
|
|
779
791
|
# @return [Fixnum]
|
780
792
|
attr_accessor :ack_deadline_seconds
|
781
793
|
|
794
|
+
# User labels.
|
795
|
+
# Corresponds to the JSON property `labels`
|
796
|
+
# @return [Hash<String,String>]
|
797
|
+
attr_accessor :labels
|
798
|
+
|
782
799
|
# How long to retain unacknowledged messages in the subscription's backlog,
|
783
800
|
# from the moment a message is published.
|
784
801
|
# If `retain_acked_messages` is true, then this also configures the retention
|
@@ -834,6 +851,7 @@ module Google
|
|
834
851
|
# Update properties of this object
|
835
852
|
def update!(**args)
|
836
853
|
@ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds)
|
854
|
+
@labels = args[:labels] if args.key?(:labels)
|
837
855
|
@message_retention_duration = args[:message_retention_duration] if args.key?(:message_retention_duration)
|
838
856
|
@name = args[:name] if args.key?(:name)
|
839
857
|
@push_config = args[:push_config] if args.key?(:push_config)
|
@@ -888,6 +906,11 @@ module Google
|
|
888
906
|
class Topic
|
889
907
|
include Google::Apis::Core::Hashable
|
890
908
|
|
909
|
+
# User labels.
|
910
|
+
# Corresponds to the JSON property `labels`
|
911
|
+
# @return [Hash<String,String>]
|
912
|
+
attr_accessor :labels
|
913
|
+
|
891
914
|
# The name of the topic. It must have the format
|
892
915
|
# `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter,
|
893
916
|
# and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
|
@@ -904,6 +927,7 @@ module Google
|
|
904
927
|
|
905
928
|
# Update properties of this object
|
906
929
|
def update!(**args)
|
930
|
+
@labels = args[:labels] if args.key?(:labels)
|
907
931
|
@name = args[:name] if args.key?(:name)
|
908
932
|
end
|
909
933
|
end
|
@@ -965,6 +989,35 @@ module Google
|
|
965
989
|
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
966
990
|
end
|
967
991
|
end
|
992
|
+
|
993
|
+
# Request for the UpdateTopic method.
|
994
|
+
class UpdateTopicRequest
|
995
|
+
include Google::Apis::Core::Hashable
|
996
|
+
|
997
|
+
# A topic resource.
|
998
|
+
# Corresponds to the JSON property `topic`
|
999
|
+
# @return [Google::Apis::PubsubV1::Topic]
|
1000
|
+
attr_accessor :topic
|
1001
|
+
|
1002
|
+
# Indicates which fields in the provided topic to update. Must be specified
|
1003
|
+
# and non-empty. Note that if `update_mask` contains
|
1004
|
+
# "message_storage_policy" then the new value will be determined based on the
|
1005
|
+
# policy configured at the project or organization level. The
|
1006
|
+
# `message_storage_policy` must not be set in the `topic` provided above.
|
1007
|
+
# Corresponds to the JSON property `updateMask`
|
1008
|
+
# @return [String]
|
1009
|
+
attr_accessor :update_mask
|
1010
|
+
|
1011
|
+
def initialize(**args)
|
1012
|
+
update!(**args)
|
1013
|
+
end
|
1014
|
+
|
1015
|
+
# Update properties of this object
|
1016
|
+
def update!(**args)
|
1017
|
+
@topic = args[:topic] if args.key?(:topic)
|
1018
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
1019
|
+
end
|
1020
|
+
end
|
968
1021
|
end
|
969
1022
|
end
|
970
1023
|
end
|
@@ -196,6 +196,12 @@ module Google
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
197
197
|
end
|
198
198
|
|
199
|
+
class UpdateTopicRequest
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
199
205
|
class AcknowledgeRequest
|
200
206
|
# @private
|
201
207
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -214,6 +220,7 @@ module Google
|
|
214
220
|
class CreateSnapshotRequest
|
215
221
|
# @private
|
216
222
|
class Representation < Google::Apis::Core::JsonRepresentation
|
223
|
+
hash :labels, as: 'labels'
|
217
224
|
property :subscription, as: 'subscription'
|
218
225
|
end
|
219
226
|
end
|
@@ -377,6 +384,7 @@ module Google
|
|
377
384
|
# @private
|
378
385
|
class Representation < Google::Apis::Core::JsonRepresentation
|
379
386
|
property :expire_time, as: 'expireTime'
|
387
|
+
hash :labels, as: 'labels'
|
380
388
|
property :name, as: 'name'
|
381
389
|
property :topic, as: 'topic'
|
382
390
|
end
|
@@ -386,6 +394,7 @@ module Google
|
|
386
394
|
# @private
|
387
395
|
class Representation < Google::Apis::Core::JsonRepresentation
|
388
396
|
property :ack_deadline_seconds, as: 'ackDeadlineSeconds'
|
397
|
+
hash :labels, as: 'labels'
|
389
398
|
property :message_retention_duration, as: 'messageRetentionDuration'
|
390
399
|
property :name, as: 'name'
|
391
400
|
property :push_config, as: 'pushConfig', class: Google::Apis::PubsubV1::PushConfig, decorator: Google::Apis::PubsubV1::PushConfig::Representation
|
@@ -412,6 +421,7 @@ module Google
|
|
412
421
|
class Topic
|
413
422
|
# @private
|
414
423
|
class Representation < Google::Apis::Core::JsonRepresentation
|
424
|
+
hash :labels, as: 'labels'
|
415
425
|
property :name, as: 'name'
|
416
426
|
end
|
417
427
|
end
|
@@ -433,6 +443,15 @@ module Google
|
|
433
443
|
property :update_mask, as: 'updateMask'
|
434
444
|
end
|
435
445
|
end
|
446
|
+
|
447
|
+
class UpdateTopicRequest
|
448
|
+
# @private
|
449
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
450
|
+
property :topic, as: 'topic', class: Google::Apis::PubsubV1::Topic, decorator: Google::Apis::PubsubV1::Topic::Representation
|
451
|
+
|
452
|
+
property :update_mask, as: 'updateMask'
|
453
|
+
end
|
454
|
+
end
|
436
455
|
end
|
437
456
|
end
|
438
457
|
end
|
@@ -696,8 +696,7 @@ module Google
|
|
696
696
|
execute_or_queue_command(command, &block)
|
697
697
|
end
|
698
698
|
|
699
|
-
# Pulls messages from the server.
|
700
|
-
# messages available in the backlog. The server may return `UNAVAILABLE` if
|
699
|
+
# Pulls messages from the server. The server may return `UNAVAILABLE` if
|
701
700
|
# there are too many concurrent pull requests pending for the given
|
702
701
|
# subscription.
|
703
702
|
# @param [String] subscription
|
@@ -1021,6 +1020,45 @@ module Google
|
|
1021
1020
|
execute_or_queue_command(command, &block)
|
1022
1021
|
end
|
1023
1022
|
|
1023
|
+
# Updates an existing topic. Note that certain properties of a
|
1024
|
+
# topic are not modifiable.
|
1025
|
+
# @param [String] name
|
1026
|
+
# The name of the topic. It must have the format
|
1027
|
+
# `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter,
|
1028
|
+
# and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
|
1029
|
+
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
|
1030
|
+
# signs (`%`). It must be between 3 and 255 characters in length, and it
|
1031
|
+
# must not start with `"goog"`.
|
1032
|
+
# @param [Google::Apis::PubsubV1::UpdateTopicRequest] update_topic_request_object
|
1033
|
+
# @param [String] fields
|
1034
|
+
# Selector specifying which fields to include in a partial response.
|
1035
|
+
# @param [String] quota_user
|
1036
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1037
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1038
|
+
# @param [Google::Apis::RequestOptions] options
|
1039
|
+
# Request-specific options
|
1040
|
+
#
|
1041
|
+
# @yield [result, err] Result & error if block supplied
|
1042
|
+
# @yieldparam result [Google::Apis::PubsubV1::Topic] parsed result object
|
1043
|
+
# @yieldparam err [StandardError] error object if request failed
|
1044
|
+
#
|
1045
|
+
# @return [Google::Apis::PubsubV1::Topic]
|
1046
|
+
#
|
1047
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1048
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1049
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1050
|
+
def patch_project_topic(name, update_topic_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1051
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1052
|
+
command.request_representation = Google::Apis::PubsubV1::UpdateTopicRequest::Representation
|
1053
|
+
command.request_object = update_topic_request_object
|
1054
|
+
command.response_representation = Google::Apis::PubsubV1::Topic::Representation
|
1055
|
+
command.response_class = Google::Apis::PubsubV1::Topic
|
1056
|
+
command.params['name'] = name unless name.nil?
|
1057
|
+
command.query['fields'] = fields unless fields.nil?
|
1058
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1059
|
+
execute_or_queue_command(command, &block)
|
1060
|
+
end
|
1061
|
+
|
1024
1062
|
# Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic
|
1025
1063
|
# does not exist. The message payload must not be empty; it must contain
|
1026
1064
|
# either a non-empty data field, or at least one attribute.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/pubsub/docs
|
26
26
|
module PubsubV1beta1a
|
27
27
|
VERSION = 'V1beta1a'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180604'
|
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'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/pubsub/docs
|
26
26
|
module PubsubV1beta2
|
27
27
|
VERSION = 'V1beta2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180604'
|
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'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/memorystore/docs/redis/
|
27
27
|
module RedisV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180620'
|
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'
|
@@ -28,7 +28,7 @@ module Google
|
|
28
28
|
# @see https://cloud.google.com/deployment-manager/runtime-configurator/
|
29
29
|
module RuntimeconfigV1
|
30
30
|
VERSION = 'V1'
|
31
|
-
REVISION = '
|
31
|
+
REVISION = '20180604'
|
32
32
|
|
33
33
|
# View and manage your data across Google Cloud Platform services
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|