google-api-client 0.33.1 → 0.33.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +42 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +11 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +1 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -72
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +15 -2
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +16 -3
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +3 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +3 -3
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +9 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +62 -29
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +6 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +1 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +205 -4
- data/generated/google/apis/container_v1/representations.rb +85 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +93 -2
- data/generated/google/apis/container_v1beta1/representations.rb +18 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +112 -0
- data/generated/google/apis/docs_v1/representations.rb +60 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +11 -7
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/ml_v1.rb +2 -2
- data/generated/google/apis/ml_v1/classes.rb +9 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +1 -1
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +8 -5
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +319 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
- data/generated/google/apis/run_v1alpha1/service.rb +408 -0
- data/generated/google/apis/speech_v2beta1.rb +34 -0
- data/generated/google/apis/speech_v2beta1/classes.rb +356 -0
- data/generated/google/apis/speech_v2beta1/representations.rb +152 -0
- data/generated/google/apis/speech_v2beta1/service.rb +138 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +63 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +32 -0
- data/generated/google/apis/sql_v1beta4/service.rb +161 -30
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +141 -0
- data/generated/google/apis/testing_v1/representations.rb +76 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +34 -34
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
|
@@ -18,14 +18,14 @@ require 'google/apis/ml_v1/representations.rb'
|
|
|
18
18
|
|
|
19
19
|
module Google
|
|
20
20
|
module Apis
|
|
21
|
-
#
|
|
21
|
+
# AI Platform Training & Prediction API
|
|
22
22
|
#
|
|
23
23
|
# An API to enable creating and using machine learning models.
|
|
24
24
|
#
|
|
25
25
|
# @see https://cloud.google.com/ml/
|
|
26
26
|
module MlV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20191021'
|
|
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'
|
|
@@ -1497,6 +1497,14 @@ module Google
|
|
|
1497
1497
|
# @return [String]
|
|
1498
1498
|
attr_accessor :scale_tier
|
|
1499
1499
|
|
|
1500
|
+
# Optional. Use 'chief' instead of 'master' in TF_CONFIG when Custom
|
|
1501
|
+
# Container is used and evaluator is not specified.
|
|
1502
|
+
# Defaults to false.
|
|
1503
|
+
# Corresponds to the JSON property `useChiefInTfConfig`
|
|
1504
|
+
# @return [Boolean]
|
|
1505
|
+
attr_accessor :use_chief_in_tf_config
|
|
1506
|
+
alias_method :use_chief_in_tf_config?, :use_chief_in_tf_config
|
|
1507
|
+
|
|
1500
1508
|
# Represents the configuration for a replica in a cluster.
|
|
1501
1509
|
# Corresponds to the JSON property `workerConfig`
|
|
1502
1510
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig]
|
|
@@ -1548,6 +1556,7 @@ module Google
|
|
|
1548
1556
|
@region = args[:region] if args.key?(:region)
|
|
1549
1557
|
@runtime_version = args[:runtime_version] if args.key?(:runtime_version)
|
|
1550
1558
|
@scale_tier = args[:scale_tier] if args.key?(:scale_tier)
|
|
1559
|
+
@use_chief_in_tf_config = args[:use_chief_in_tf_config] if args.key?(:use_chief_in_tf_config)
|
|
1551
1560
|
@worker_config = args[:worker_config] if args.key?(:worker_config)
|
|
1552
1561
|
@worker_count = args[:worker_count] if args.key?(:worker_count)
|
|
1553
1562
|
@worker_type = args[:worker_type] if args.key?(:worker_type)
|
|
@@ -579,6 +579,7 @@ module Google
|
|
|
579
579
|
property :region, as: 'region'
|
|
580
580
|
property :runtime_version, as: 'runtimeVersion'
|
|
581
581
|
property :scale_tier, as: 'scaleTier'
|
|
582
|
+
property :use_chief_in_tf_config, as: 'useChiefInTfConfig'
|
|
582
583
|
property :worker_config, as: 'workerConfig', class: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig::Representation
|
|
583
584
|
|
|
584
585
|
property :worker_count, :numeric_string => true, as: 'workerCount'
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/compute/docs/oslogin/
|
|
27
27
|
module OsloginV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20191018'
|
|
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'
|
|
@@ -51,7 +51,7 @@ module Google
|
|
|
51
51
|
# Retrieves the profile information used for logging in to a virtual machine
|
|
52
52
|
# on Google Compute Engine.
|
|
53
53
|
# @param [String] name
|
|
54
|
-
# The unique ID for the user in format `users/`user``.
|
|
54
|
+
# Required. The unique ID for the user in format `users/`user``.
|
|
55
55
|
# @param [String] project_id
|
|
56
56
|
# The project ID of the Google Cloud Platform project.
|
|
57
57
|
# @param [String] system_id
|
|
@@ -89,7 +89,7 @@ module Google
|
|
|
89
89
|
# account information is set when no username and UID exist as part of the
|
|
90
90
|
# login profile.
|
|
91
91
|
# @param [String] parent
|
|
92
|
-
# The unique ID for the user in format `users/`user``.
|
|
92
|
+
# Required. The unique ID for the user in format `users/`user``.
|
|
93
93
|
# @param [Google::Apis::OsloginV1::SshPublicKey] ssh_public_key_object
|
|
94
94
|
# @param [String] project_id
|
|
95
95
|
# The project ID of the Google Cloud Platform project.
|
|
@@ -125,7 +125,8 @@ module Google
|
|
|
125
125
|
|
|
126
126
|
# Deletes a POSIX account.
|
|
127
127
|
# @param [String] name
|
|
128
|
-
# A reference to the POSIX account to update. POSIX accounts are
|
|
128
|
+
# Required. A reference to the POSIX account to update. POSIX accounts are
|
|
129
|
+
# identified
|
|
129
130
|
# by the project ID they are associated with. A reference to the POSIX
|
|
130
131
|
# account is in format `users/`user`/projects/`project``.
|
|
131
132
|
# @param [String] fields
|
|
@@ -157,7 +158,8 @@ module Google
|
|
|
157
158
|
|
|
158
159
|
# Deletes an SSH public key.
|
|
159
160
|
# @param [String] name
|
|
160
|
-
# The fingerprint of the public key to update. Public keys are
|
|
161
|
+
# Required. The fingerprint of the public key to update. Public keys are
|
|
162
|
+
# identified by
|
|
161
163
|
# their SHA-256 fingerprint. The fingerprint of the public key is in format
|
|
162
164
|
# `users/`user`/sshPublicKeys/`fingerprint``.
|
|
163
165
|
# @param [String] fields
|
|
@@ -222,7 +224,8 @@ module Google
|
|
|
222
224
|
# Updates an SSH public key and returns the profile information. This method
|
|
223
225
|
# supports patch semantics.
|
|
224
226
|
# @param [String] name
|
|
225
|
-
# The fingerprint of the public key to update. Public keys are
|
|
227
|
+
# Required. The fingerprint of the public key to update. Public keys are
|
|
228
|
+
# identified by
|
|
226
229
|
# their SHA-256 fingerprint. The fingerprint of the public key is in format
|
|
227
230
|
# `users/`user`/sshPublicKeys/`fingerprint``.
|
|
228
231
|
# @param [Google::Apis::OsloginV1::SshPublicKey] ssh_public_key_object
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/compute/docs/oslogin/
|
|
27
27
|
module OsloginV1beta
|
|
28
28
|
VERSION = 'V1beta'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20191018'
|
|
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'
|
|
@@ -51,7 +51,7 @@ module Google
|
|
|
51
51
|
# Retrieves the profile information used for logging in to a virtual machine
|
|
52
52
|
# on Google Compute Engine.
|
|
53
53
|
# @param [String] name
|
|
54
|
-
# The unique ID for the user in format `users/`user``.
|
|
54
|
+
# Required. The unique ID for the user in format `users/`user``.
|
|
55
55
|
# @param [String] project_id
|
|
56
56
|
# The project ID of the Google Cloud Platform project.
|
|
57
57
|
# @param [String] system_id
|
|
@@ -125,7 +125,8 @@ module Google
|
|
|
125
125
|
|
|
126
126
|
# Deletes a POSIX account.
|
|
127
127
|
# @param [String] name
|
|
128
|
-
# A reference to the POSIX account to update. POSIX accounts are
|
|
128
|
+
# Required. A reference to the POSIX account to update. POSIX accounts are
|
|
129
|
+
# identified
|
|
129
130
|
# by the project ID they are associated with. A reference to the POSIX
|
|
130
131
|
# account is in format `users/`user`/projects/`project``.
|
|
131
132
|
# @param [String] fields
|
|
@@ -157,7 +158,8 @@ module Google
|
|
|
157
158
|
|
|
158
159
|
# Deletes an SSH public key.
|
|
159
160
|
# @param [String] name
|
|
160
|
-
# The fingerprint of the public key to update. Public keys are
|
|
161
|
+
# Required. The fingerprint of the public key to update. Public keys are
|
|
162
|
+
# identified by
|
|
161
163
|
# their SHA-256 fingerprint. The fingerprint of the public key is in format
|
|
162
164
|
# `users/`user`/sshPublicKeys/`fingerprint``.
|
|
163
165
|
# @param [String] fields
|
|
@@ -189,7 +191,8 @@ module Google
|
|
|
189
191
|
|
|
190
192
|
# Retrieves an SSH public key.
|
|
191
193
|
# @param [String] name
|
|
192
|
-
# The fingerprint of the public key to retrieve. Public keys are
|
|
194
|
+
# Required. The fingerprint of the public key to retrieve. Public keys are
|
|
195
|
+
# identified
|
|
193
196
|
# by their SHA-256 fingerprint. The fingerprint of the public key is in
|
|
194
197
|
# format `users/`user`/sshPublicKeys/`fingerprint``.
|
|
195
198
|
# @param [String] fields
|
|
@@ -222,7 +225,8 @@ module Google
|
|
|
222
225
|
# Updates an SSH public key and returns the profile information. This method
|
|
223
226
|
# supports patch semantics.
|
|
224
227
|
# @param [String] name
|
|
225
|
-
# The fingerprint of the public key to update. Public keys are
|
|
228
|
+
# Required. The fingerprint of the public key to update. Public keys are
|
|
229
|
+
# identified by
|
|
226
230
|
# their SHA-256 fingerprint. The fingerprint of the public key is in format
|
|
227
231
|
# `users/`user`/sshPublicKeys/`fingerprint``.
|
|
228
232
|
# @param [Google::Apis::OsloginV1beta::SshPublicKey] ssh_public_key_object
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/google-apps/reseller/
|
|
26
26
|
module ResellerV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20191008'
|
|
29
29
|
|
|
30
30
|
# Manage users on your domain
|
|
31
31
|
AUTH_APPS_ORDER = 'https://www.googleapis.com/auth/apps.order'
|
|
@@ -485,7 +485,7 @@ module Google
|
|
|
485
485
|
execute_or_queue_command(command, &block)
|
|
486
486
|
end
|
|
487
487
|
|
|
488
|
-
# Cancel or transfer a subscription to direct.
|
|
488
|
+
# Cancel, suspend, or transfer a subscription to direct.
|
|
489
489
|
# @param [String] customer_id
|
|
490
490
|
# Either the customer's primary domain name or the customer's unique identifier.
|
|
491
491
|
# If using the domain name, we do not recommend using a customerId as a key for
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/run/
|
|
27
27
|
module RunV1alpha1
|
|
28
28
|
VERSION = 'V1alpha1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20191021'
|
|
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'
|
|
@@ -266,6 +266,84 @@ module Google
|
|
|
266
266
|
end
|
|
267
267
|
end
|
|
268
268
|
|
|
269
|
+
# CloudEventOverrides defines arguments for a Source that control the output
|
|
270
|
+
# format of the CloudEvents produced by the Source.
|
|
271
|
+
class CloudEventOverrides
|
|
272
|
+
include Google::Apis::Core::Hashable
|
|
273
|
+
|
|
274
|
+
# Extensions specify what attribute are added or overridden on the outbound
|
|
275
|
+
# event. Each `Extensions` key-value pair are set on the event as an
|
|
276
|
+
# attribute extension independently.
|
|
277
|
+
# +optional
|
|
278
|
+
# Corresponds to the JSON property `extensions`
|
|
279
|
+
# @return [Hash<String,String>]
|
|
280
|
+
attr_accessor :extensions
|
|
281
|
+
|
|
282
|
+
def initialize(**args)
|
|
283
|
+
update!(**args)
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
# Update properties of this object
|
|
287
|
+
def update!(**args)
|
|
288
|
+
@extensions = args[:extensions] if args.key?(:extensions)
|
|
289
|
+
end
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
# Condition defines a generic condition for a Resource
|
|
293
|
+
class Condition
|
|
294
|
+
include Google::Apis::Core::Hashable
|
|
295
|
+
|
|
296
|
+
# Optional. Last time the condition transitioned from one status to another.
|
|
297
|
+
# Corresponds to the JSON property `lastTransitionTime`
|
|
298
|
+
# @return [String]
|
|
299
|
+
attr_accessor :last_transition_time
|
|
300
|
+
|
|
301
|
+
# Optional. Human readable message indicating details about the current status.
|
|
302
|
+
# Corresponds to the JSON property `message`
|
|
303
|
+
# @return [String]
|
|
304
|
+
attr_accessor :message
|
|
305
|
+
|
|
306
|
+
# Optional. One-word CamelCase reason for the condition's last transition.
|
|
307
|
+
# Corresponds to the JSON property `reason`
|
|
308
|
+
# @return [String]
|
|
309
|
+
attr_accessor :reason
|
|
310
|
+
|
|
311
|
+
# Optional. How to interpret failures of this condition, one of Error, Warning,
|
|
312
|
+
# Info
|
|
313
|
+
# Corresponds to the JSON property `severity`
|
|
314
|
+
# @return [String]
|
|
315
|
+
attr_accessor :severity
|
|
316
|
+
|
|
317
|
+
# Status of the condition, one of True, False, Unknown.
|
|
318
|
+
# Corresponds to the JSON property `status`
|
|
319
|
+
# @return [String]
|
|
320
|
+
attr_accessor :status
|
|
321
|
+
|
|
322
|
+
# type is used to communicate the status of the reconciliation process.
|
|
323
|
+
# See also:
|
|
324
|
+
# https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-
|
|
325
|
+
# conditions-and-reporting
|
|
326
|
+
# Types common to all resources include:
|
|
327
|
+
# * "Ready": True when the Resource is ready.
|
|
328
|
+
# Corresponds to the JSON property `type`
|
|
329
|
+
# @return [String]
|
|
330
|
+
attr_accessor :type
|
|
331
|
+
|
|
332
|
+
def initialize(**args)
|
|
333
|
+
update!(**args)
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
# Update properties of this object
|
|
337
|
+
def update!(**args)
|
|
338
|
+
@last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
|
|
339
|
+
@message = args[:message] if args.key?(:message)
|
|
340
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
341
|
+
@severity = args[:severity] if args.key?(:severity)
|
|
342
|
+
@status = args[:status] if args.key?(:status)
|
|
343
|
+
@type = args[:type] if args.key?(:type)
|
|
344
|
+
end
|
|
345
|
+
end
|
|
346
|
+
|
|
269
347
|
# ConfigMapEnvSource selects a ConfigMap to populate the environment
|
|
270
348
|
# variables with.
|
|
271
349
|
# The contents of the target ConfigMap's Data field will represent the
|
|
@@ -885,6 +963,35 @@ module Google
|
|
|
885
963
|
end
|
|
886
964
|
end
|
|
887
965
|
|
|
966
|
+
#
|
|
967
|
+
class Destination
|
|
968
|
+
include Google::Apis::Core::Hashable
|
|
969
|
+
|
|
970
|
+
# ObjectReference contains enough information to let you inspect or modify the
|
|
971
|
+
# referred object.
|
|
972
|
+
# Corresponds to the JSON property `ref`
|
|
973
|
+
# @return [Google::Apis::RunV1alpha1::ObjectReference]
|
|
974
|
+
attr_accessor :ref
|
|
975
|
+
|
|
976
|
+
# URI is for direct URI Designations or used with the resulting URL from
|
|
977
|
+
# Addressable ObjectReference. If used with an ObjectReference, will be
|
|
978
|
+
# appended to the path of the resulting URL from the Addressable.
|
|
979
|
+
# + optional
|
|
980
|
+
# Corresponds to the JSON property `uri`
|
|
981
|
+
# @return [String]
|
|
982
|
+
attr_accessor :uri
|
|
983
|
+
|
|
984
|
+
def initialize(**args)
|
|
985
|
+
update!(**args)
|
|
986
|
+
end
|
|
987
|
+
|
|
988
|
+
# Update properties of this object
|
|
989
|
+
def update!(**args)
|
|
990
|
+
@ref = args[:ref] if args.key?(:ref)
|
|
991
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
992
|
+
end
|
|
993
|
+
end
|
|
994
|
+
|
|
888
995
|
# Resource to hold the state and status of a user's domain mapping.
|
|
889
996
|
class DomainMapping
|
|
890
997
|
include Google::Apis::Core::Hashable
|
|
@@ -1897,6 +2004,51 @@ module Google
|
|
|
1897
2004
|
end
|
|
1898
2005
|
end
|
|
1899
2006
|
|
|
2007
|
+
# ListPubSubsResponse is a list of PubSub resources.
|
|
2008
|
+
class ListPubSubsResponse
|
|
2009
|
+
include Google::Apis::Core::Hashable
|
|
2010
|
+
|
|
2011
|
+
# The API version for this call such as "events.cloud.google.com/v1alpha1".
|
|
2012
|
+
# Corresponds to the JSON property `apiVersion`
|
|
2013
|
+
# @return [String]
|
|
2014
|
+
attr_accessor :api_version
|
|
2015
|
+
|
|
2016
|
+
# List of PubSubs.
|
|
2017
|
+
# Corresponds to the JSON property `items`
|
|
2018
|
+
# @return [Array<Google::Apis::RunV1alpha1::PubSub>]
|
|
2019
|
+
attr_accessor :items
|
|
2020
|
+
|
|
2021
|
+
# The kind of this resource, in this case "PubSubList".
|
|
2022
|
+
# Corresponds to the JSON property `kind`
|
|
2023
|
+
# @return [String]
|
|
2024
|
+
attr_accessor :kind
|
|
2025
|
+
|
|
2026
|
+
# ListMeta describes metadata that synthetic resources must have, including
|
|
2027
|
+
# lists and various status objects. A resource may have only one of
|
|
2028
|
+
# `ObjectMeta, ListMeta`.
|
|
2029
|
+
# Corresponds to the JSON property `metadata`
|
|
2030
|
+
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
|
2031
|
+
attr_accessor :metadata
|
|
2032
|
+
|
|
2033
|
+
# Locations that could not be reached.
|
|
2034
|
+
# Corresponds to the JSON property `unreachable`
|
|
2035
|
+
# @return [Array<String>]
|
|
2036
|
+
attr_accessor :unreachable
|
|
2037
|
+
|
|
2038
|
+
def initialize(**args)
|
|
2039
|
+
update!(**args)
|
|
2040
|
+
end
|
|
2041
|
+
|
|
2042
|
+
# Update properties of this object
|
|
2043
|
+
def update!(**args)
|
|
2044
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
|
2045
|
+
@items = args[:items] if args.key?(:items)
|
|
2046
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
2047
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
2048
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
2049
|
+
end
|
|
2050
|
+
end
|
|
2051
|
+
|
|
1900
2052
|
# ListRevisionsResponse is a list of Revision resources.
|
|
1901
2053
|
class ListRevisionsResponse
|
|
1902
2054
|
include Google::Apis::Core::Hashable
|
|
@@ -2674,6 +2826,173 @@ module Google
|
|
|
2674
2826
|
end
|
|
2675
2827
|
end
|
|
2676
2828
|
|
|
2829
|
+
#
|
|
2830
|
+
class PubSub
|
|
2831
|
+
include Google::Apis::Core::Hashable
|
|
2832
|
+
|
|
2833
|
+
# The API version for this call such as "events.cloud.google.com/v1alpha1".
|
|
2834
|
+
# Corresponds to the JSON property `apiVersion`
|
|
2835
|
+
# @return [String]
|
|
2836
|
+
attr_accessor :api_version
|
|
2837
|
+
|
|
2838
|
+
# The kind of resource, in this case "PubSub".
|
|
2839
|
+
# Corresponds to the JSON property `kind`
|
|
2840
|
+
# @return [String]
|
|
2841
|
+
attr_accessor :kind
|
|
2842
|
+
|
|
2843
|
+
# ObjectMeta is metadata that all persisted resources must have, which includes
|
|
2844
|
+
# all objects users must create.
|
|
2845
|
+
# Corresponds to the JSON property `metadata`
|
|
2846
|
+
# @return [Google::Apis::RunV1alpha1::ObjectMeta]
|
|
2847
|
+
attr_accessor :metadata
|
|
2848
|
+
|
|
2849
|
+
# The desired state of the PubSub.
|
|
2850
|
+
# Corresponds to the JSON property `spec`
|
|
2851
|
+
# @return [Google::Apis::RunV1alpha1::PubSubSpec]
|
|
2852
|
+
attr_accessor :spec
|
|
2853
|
+
|
|
2854
|
+
# PubSubStatus represents the current state of a PubSub.
|
|
2855
|
+
# Corresponds to the JSON property `status`
|
|
2856
|
+
# @return [Google::Apis::RunV1alpha1::PubSubStatus]
|
|
2857
|
+
attr_accessor :status
|
|
2858
|
+
|
|
2859
|
+
def initialize(**args)
|
|
2860
|
+
update!(**args)
|
|
2861
|
+
end
|
|
2862
|
+
|
|
2863
|
+
# Update properties of this object
|
|
2864
|
+
def update!(**args)
|
|
2865
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
|
2866
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
2867
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
2868
|
+
@spec = args[:spec] if args.key?(:spec)
|
|
2869
|
+
@status = args[:status] if args.key?(:status)
|
|
2870
|
+
end
|
|
2871
|
+
end
|
|
2872
|
+
|
|
2873
|
+
# The desired state of the PubSub.
|
|
2874
|
+
class PubSubSpec
|
|
2875
|
+
include Google::Apis::Core::Hashable
|
|
2876
|
+
|
|
2877
|
+
# AckDeadline is the default maximum time after a subscriber receives a
|
|
2878
|
+
# message before the subscriber should acknowledge the message. Defaults
|
|
2879
|
+
# to 30 seconds ('30s').
|
|
2880
|
+
# +optional
|
|
2881
|
+
# Corresponds to the JSON property `ackDeadline`
|
|
2882
|
+
# @return [String]
|
|
2883
|
+
attr_accessor :ack_deadline
|
|
2884
|
+
|
|
2885
|
+
# CloudEventOverrides defines arguments for a Source that control the output
|
|
2886
|
+
# format of the CloudEvents produced by the Source.
|
|
2887
|
+
# Corresponds to the JSON property `ceOverrides`
|
|
2888
|
+
# @return [Google::Apis::RunV1alpha1::CloudEventOverrides]
|
|
2889
|
+
attr_accessor :ce_overrides
|
|
2890
|
+
|
|
2891
|
+
# Project is the ID of the Google Cloud Project that the PubSub Topic exists
|
|
2892
|
+
# in. If omitted, defaults to same as the cluster. +optional
|
|
2893
|
+
# Corresponds to the JSON property `project`
|
|
2894
|
+
# @return [String]
|
|
2895
|
+
attr_accessor :project
|
|
2896
|
+
|
|
2897
|
+
# Cloud Run fully managed: not supported
|
|
2898
|
+
# Cloud Run on GKE: supported
|
|
2899
|
+
# SecretKeySelector selects a key of a Secret.
|
|
2900
|
+
# Corresponds to the JSON property `pubsubSecret`
|
|
2901
|
+
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
|
|
2902
|
+
attr_accessor :pubsub_secret
|
|
2903
|
+
|
|
2904
|
+
# RetainAckedMessages defines whether to retain acknowledged messages. If
|
|
2905
|
+
# true, acknowledged messages will not be expunged until they fall out of
|
|
2906
|
+
# the RetentionDuration window.
|
|
2907
|
+
# Corresponds to the JSON property `retainAckedMessages`
|
|
2908
|
+
# @return [Boolean]
|
|
2909
|
+
attr_accessor :retain_acked_messages
|
|
2910
|
+
alias_method :retain_acked_messages?, :retain_acked_messages
|
|
2911
|
+
|
|
2912
|
+
# RetentionDuration defines how long to retain messages in backlog, from
|
|
2913
|
+
# the time of publish. If RetainAckedMessages is true, this duration
|
|
2914
|
+
# affects the retention of acknowledged messages, otherwise only
|
|
2915
|
+
# unacknowledged messages are retained. Cannot be longer than 7 days or
|
|
2916
|
+
# shorter than 10 minutes. Defaults to 7 days ('7d').
|
|
2917
|
+
# +optional
|
|
2918
|
+
# Corresponds to the JSON property `retentionDuration`
|
|
2919
|
+
# @return [String]
|
|
2920
|
+
attr_accessor :retention_duration
|
|
2921
|
+
|
|
2922
|
+
# Cloud Run fully managed: not supported
|
|
2923
|
+
# Cloud Run on GKE: supported
|
|
2924
|
+
# SecretKeySelector selects a key of a Secret.
|
|
2925
|
+
# Corresponds to the JSON property `secret`
|
|
2926
|
+
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
|
|
2927
|
+
attr_accessor :secret
|
|
2928
|
+
|
|
2929
|
+
# Sink is a reference to an object that will resolve to a domain name or a
|
|
2930
|
+
# URI directly to use as the sink.
|
|
2931
|
+
# Corresponds to the JSON property `sink`
|
|
2932
|
+
# @return [Google::Apis::RunV1alpha1::Destination]
|
|
2933
|
+
attr_accessor :sink
|
|
2934
|
+
|
|
2935
|
+
# Topic is the ID of the PubSub Topic to Subscribe to. It must
|
|
2936
|
+
# be in the form of the unique identifier within the project, not the
|
|
2937
|
+
# entire name. E.g. it must be 'laconia', not
|
|
2938
|
+
# 'projects/my-proj/topics/laconia'.
|
|
2939
|
+
# Corresponds to the JSON property `topic`
|
|
2940
|
+
# @return [String]
|
|
2941
|
+
attr_accessor :topic
|
|
2942
|
+
|
|
2943
|
+
def initialize(**args)
|
|
2944
|
+
update!(**args)
|
|
2945
|
+
end
|
|
2946
|
+
|
|
2947
|
+
# Update properties of this object
|
|
2948
|
+
def update!(**args)
|
|
2949
|
+
@ack_deadline = args[:ack_deadline] if args.key?(:ack_deadline)
|
|
2950
|
+
@ce_overrides = args[:ce_overrides] if args.key?(:ce_overrides)
|
|
2951
|
+
@project = args[:project] if args.key?(:project)
|
|
2952
|
+
@pubsub_secret = args[:pubsub_secret] if args.key?(:pubsub_secret)
|
|
2953
|
+
@retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
|
|
2954
|
+
@retention_duration = args[:retention_duration] if args.key?(:retention_duration)
|
|
2955
|
+
@secret = args[:secret] if args.key?(:secret)
|
|
2956
|
+
@sink = args[:sink] if args.key?(:sink)
|
|
2957
|
+
@topic = args[:topic] if args.key?(:topic)
|
|
2958
|
+
end
|
|
2959
|
+
end
|
|
2960
|
+
|
|
2961
|
+
# PubSubStatus represents the current state of a PubSub.
|
|
2962
|
+
class PubSubStatus
|
|
2963
|
+
include Google::Apis::Core::Hashable
|
|
2964
|
+
|
|
2965
|
+
# Array of observed PubSubConditions, indicating the current state
|
|
2966
|
+
# of the PubSub.
|
|
2967
|
+
# Corresponds to the JSON property `conditions`
|
|
2968
|
+
# @return [Array<Google::Apis::RunV1alpha1::Condition>]
|
|
2969
|
+
attr_accessor :conditions
|
|
2970
|
+
|
|
2971
|
+
# ObservedGeneration is the 'Generation' of the PubSub that
|
|
2972
|
+
# was last processed by the controller.
|
|
2973
|
+
# Corresponds to the JSON property `observedGeneration`
|
|
2974
|
+
# @return [Fixnum]
|
|
2975
|
+
attr_accessor :observed_generation
|
|
2976
|
+
|
|
2977
|
+
# SinkURI is the current active sink URI that has been configured for the
|
|
2978
|
+
# Source.
|
|
2979
|
+
# +optional
|
|
2980
|
+
# Corresponds to the JSON property `sinkUri`
|
|
2981
|
+
# @return [String]
|
|
2982
|
+
attr_accessor :sink_uri
|
|
2983
|
+
|
|
2984
|
+
def initialize(**args)
|
|
2985
|
+
update!(**args)
|
|
2986
|
+
end
|
|
2987
|
+
|
|
2988
|
+
# Update properties of this object
|
|
2989
|
+
def update!(**args)
|
|
2990
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
|
2991
|
+
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
|
2992
|
+
@sink_uri = args[:sink_uri] if args.key?(:sink_uri)
|
|
2993
|
+
end
|
|
2994
|
+
end
|
|
2995
|
+
|
|
2677
2996
|
# The view model of a single quantity, e.g. "800 MiB". Corresponds to
|
|
2678
2997
|
# https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/
|
|
2679
2998
|
# apimachinery/pkg/api/resource/generated.proto
|