google-api-client 0.36.1 → 0.36.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +45 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +29 -58
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +67 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -0
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2/service.rb +19 -2
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +6 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +6 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +34 -0
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1174 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +435 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +223 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +234 -240
- data/generated/google/apis/compute_alpha/representations.rb +7 -47
- data/generated/google/apis/compute_alpha/service.rb +1233 -1068
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +936 -164
- data/generated/google/apis/compute_beta/representations.rb +371 -0
- data/generated/google/apis/compute_beta/service.rb +1394 -899
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +479 -147
- data/generated/google/apis/compute_v1/representations.rb +127 -0
- data/generated/google/apis/compute_v1/service.rb +813 -748
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +9 -7
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +8 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +69 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +34 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +73 -43
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +73 -43
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +44 -11
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +44 -11
- data/generated/google/apis/dialogflow_v2beta1/service.rb +20 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +70 -0
- data/generated/google/apis/dns_v1/representations.rb +32 -0
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +70 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +32 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +152 -0
- data/generated/google/apis/docs_v1/representations.rb +56 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +6 -0
- data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +1 -1
- data/generated/google/apis/firestore_v1/service.rb +24 -22
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/service.rb +16 -14
- data/generated/google/apis/fitness_v1.rb +11 -11
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +5 -7
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +83 -141
- data/generated/google/apis/iam_v1/representations.rb +0 -6
- data/generated/google/apis/iam_v1/service.rb +11 -21
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +15 -0
- data/generated/google/apis/language_v1beta2/representations.rb +2 -0
- data/generated/google/apis/logging_v2.rb +3 -2
- data/generated/google/apis/logging_v2/service.rb +2 -1
- data/generated/google/apis/{surveys_v2.rb → prod_tt_sasportal_v1alpha1.rb} +9 -15
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1084 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +503 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1322 -0
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +424 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +161 -0
- data/generated/google/apis/run_v1alpha1/service.rb +862 -46
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +34 -0
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +1084 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +503 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +1322 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +18 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +3 -0
- data/generated/google/apis/securitycenter_v1/service.rb +6 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +16 -1
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +187 -2
- data/generated/google/apis/sheets_v4/representations.rb +47 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +104 -51
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +6 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +75 -4
- data/generated/google/apis/sql_v1beta4/representations.rb +32 -0
- data/generated/google/apis/sql_v1beta4/service.rb +83 -2
- data/generated/google/apis/toolresults_v1.rb +31 -0
- data/generated/google/apis/toolresults_v1/classes.rb +696 -0
- data/generated/google/apis/toolresults_v1/representations.rb +438 -0
- data/generated/google/apis/toolresults_v1/service.rb +59 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/service.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +19 -7
- data/generated/google/apis/surveys_v2/classes.rb +0 -691
- data/generated/google/apis/surveys_v2/representations.rb +0 -305
- data/generated/google/apis/surveys_v2/service.rb +0 -348
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/recommender/docs/
|
26
26
|
module RecommenderV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191216'
|
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'
|
@@ -109,6 +109,8 @@ module Google
|
|
109
109
|
|
110
110
|
# State properties to include with this state. Overwrites any existing
|
111
111
|
# `state_metadata`.
|
112
|
+
# Keys must match the regex /^a-z0-9`0,62`$/.
|
113
|
+
# Values must match the regex /^[a-zA-Z0-9_./-]`0,255`$/.
|
112
114
|
# Corresponds to the JSON property `stateMetadata`
|
113
115
|
# @return [Hash<String,String>]
|
114
116
|
attr_accessor :state_metadata
|
@@ -135,6 +137,8 @@ module Google
|
|
135
137
|
|
136
138
|
# State properties to include with this state. Overwrites any existing
|
137
139
|
# `state_metadata`.
|
140
|
+
# Keys must match the regex /^a-z0-9`0,62`$/.
|
141
|
+
# Values must match the regex /^[a-zA-Z0-9_./-]`0,255`$/.
|
138
142
|
# Corresponds to the JSON property `stateMetadata`
|
139
143
|
# @return [Hash<String,String>]
|
140
144
|
attr_accessor :state_metadata
|
@@ -161,6 +165,8 @@ module Google
|
|
161
165
|
|
162
166
|
# State properties to include with this state. Overwrites any existing
|
163
167
|
# `state_metadata`.
|
168
|
+
# Keys must match the regex /^a-z0-9`0,62`$/.
|
169
|
+
# Values must match the regex /^[a-zA-Z0-9_./-]`0,255`$/.
|
164
170
|
# Corresponds to the JSON property `stateMetadata`
|
165
171
|
# @return [Hash<String,String>]
|
166
172
|
attr_accessor :state_metadata
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/remote-build-execution/docs/
|
26
26
|
module RemotebuildexecutionV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191211'
|
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'
|
@@ -2092,7 +2092,7 @@ module Google
|
|
2092
2092
|
# Required. Disk Type to use for the worker.
|
2093
2093
|
# See [Storage
|
2094
2094
|
# options](https://cloud.google.com/compute/docs/disks/#introduction).
|
2095
|
-
# Currently only `pd-standard`
|
2095
|
+
# Currently only `pd-standard` and `pd-ssd` are supported.
|
2096
2096
|
# Corresponds to the JSON property `diskType`
|
2097
2097
|
# @return [String]
|
2098
2098
|
attr_accessor :disk_type
|
@@ -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 = '20191216'
|
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'
|
@@ -283,6 +283,171 @@ module Google
|
|
283
283
|
end
|
284
284
|
end
|
285
285
|
|
286
|
+
#
|
287
|
+
class CloudAuditLog
|
288
|
+
include Google::Apis::Core::Hashable
|
289
|
+
|
290
|
+
# The API version for this call such as "events.cloud.google.com/v1alpha1".
|
291
|
+
# Corresponds to the JSON property `apiVersion`
|
292
|
+
# @return [String]
|
293
|
+
attr_accessor :api_version
|
294
|
+
|
295
|
+
# The kind of resource, in this case "CloudAuditLog".
|
296
|
+
# Corresponds to the JSON property `kind`
|
297
|
+
# @return [String]
|
298
|
+
attr_accessor :kind
|
299
|
+
|
300
|
+
# ObjectMeta is metadata that all persisted resources must have, which includes
|
301
|
+
# all objects users must create.
|
302
|
+
# Corresponds to the JSON property `metadata`
|
303
|
+
# @return [Google::Apis::RunV1alpha1::ObjectMeta]
|
304
|
+
attr_accessor :metadata
|
305
|
+
|
306
|
+
# The desired state of the CloudAuditLog.
|
307
|
+
# Corresponds to the JSON property `spec`
|
308
|
+
# @return [Google::Apis::RunV1alpha1::CloudAuditLogSpec]
|
309
|
+
attr_accessor :spec
|
310
|
+
|
311
|
+
# CloudAuditLogStatus represents the current state of a CloudAuditLog.
|
312
|
+
# Corresponds to the JSON property `status`
|
313
|
+
# @return [Google::Apis::RunV1alpha1::CloudAuditLogStatus]
|
314
|
+
attr_accessor :status
|
315
|
+
|
316
|
+
def initialize(**args)
|
317
|
+
update!(**args)
|
318
|
+
end
|
319
|
+
|
320
|
+
# Update properties of this object
|
321
|
+
def update!(**args)
|
322
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
323
|
+
@kind = args[:kind] if args.key?(:kind)
|
324
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
325
|
+
@spec = args[:spec] if args.key?(:spec)
|
326
|
+
@status = args[:status] if args.key?(:status)
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
# The desired state of the CloudAuditLog.
|
331
|
+
class CloudAuditLogSpec
|
332
|
+
include Google::Apis::Core::Hashable
|
333
|
+
|
334
|
+
# CloudEventOverrides defines arguments for a Source that control the output
|
335
|
+
# format of the CloudEvents produced by the Source.
|
336
|
+
# Corresponds to the JSON property `ceOverrides`
|
337
|
+
# @return [Google::Apis::RunV1alpha1::CloudEventOverrides]
|
338
|
+
attr_accessor :ce_overrides
|
339
|
+
|
340
|
+
# Required. The method name at the service API. This must match "methodName" in
|
341
|
+
# Cloud
|
342
|
+
# Audit Logs. Regex or Wildcards (*) are not supported.
|
343
|
+
# Example: "google.cloud.bigquery.job.create".
|
344
|
+
# Corresponds to the JSON property `methodName`
|
345
|
+
# @return [String]
|
346
|
+
attr_accessor :method_name
|
347
|
+
|
348
|
+
# Project is the ID of the Google Cloud Project that the PubSub Topic exists
|
349
|
+
# in. If omitted, defaults to same as the cluster. +optional
|
350
|
+
# Corresponds to the JSON property `project`
|
351
|
+
# @return [String]
|
352
|
+
attr_accessor :project
|
353
|
+
|
354
|
+
# Cloud Run fully managed: not supported
|
355
|
+
# Cloud Run on GKE: supported
|
356
|
+
# SecretKeySelector selects a key of a Secret.
|
357
|
+
# Corresponds to the JSON property `pubsubSecret`
|
358
|
+
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
|
359
|
+
attr_accessor :pubsub_secret
|
360
|
+
|
361
|
+
# Optional. The resource specification. This must match "methodName"
|
362
|
+
# in Cloud Audit Logs. Regex or Wildcards (*) are not supported.
|
363
|
+
# Example: "projects/my-project/jobs/foo".
|
364
|
+
# Corresponds to the JSON property `resourceName`
|
365
|
+
# @return [String]
|
366
|
+
attr_accessor :resource_name
|
367
|
+
|
368
|
+
# Cloud Run fully managed: not supported
|
369
|
+
# Cloud Run on GKE: supported
|
370
|
+
# SecretKeySelector selects a key of a Secret.
|
371
|
+
# Corresponds to the JSON property `secret`
|
372
|
+
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
|
373
|
+
attr_accessor :secret
|
374
|
+
|
375
|
+
# Email address of the IAM service account associated with the source. The
|
376
|
+
# service account represents the identity of the source, and determines what
|
377
|
+
# permissions the source has. If not provided, the source will use the
|
378
|
+
# project's default service account.
|
379
|
+
# +optional
|
380
|
+
# Corresponds to the JSON property `serviceAccountName`
|
381
|
+
# @return [String]
|
382
|
+
attr_accessor :service_account_name
|
383
|
+
|
384
|
+
# Required. The GCP service name. This must match "serviceName" in Cloud Audit
|
385
|
+
# Logs.
|
386
|
+
# Regex or Wildcards (*) are not supported.
|
387
|
+
# Example: "bigquery.googleapis.com".
|
388
|
+
# Corresponds to the JSON property `serviceName`
|
389
|
+
# @return [String]
|
390
|
+
attr_accessor :service_name
|
391
|
+
|
392
|
+
# Sink is a reference to an object that will resolve to a domain name or a
|
393
|
+
# URI directly to use as the sink.
|
394
|
+
# Corresponds to the JSON property `sink`
|
395
|
+
# @return [Google::Apis::RunV1alpha1::Destination]
|
396
|
+
attr_accessor :sink
|
397
|
+
|
398
|
+
def initialize(**args)
|
399
|
+
update!(**args)
|
400
|
+
end
|
401
|
+
|
402
|
+
# Update properties of this object
|
403
|
+
def update!(**args)
|
404
|
+
@ce_overrides = args[:ce_overrides] if args.key?(:ce_overrides)
|
405
|
+
@method_name = args[:method_name] if args.key?(:method_name)
|
406
|
+
@project = args[:project] if args.key?(:project)
|
407
|
+
@pubsub_secret = args[:pubsub_secret] if args.key?(:pubsub_secret)
|
408
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
409
|
+
@secret = args[:secret] if args.key?(:secret)
|
410
|
+
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
|
411
|
+
@service_name = args[:service_name] if args.key?(:service_name)
|
412
|
+
@sink = args[:sink] if args.key?(:sink)
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
416
|
+
# CloudAuditLogStatus represents the current state of a CloudAuditLog.
|
417
|
+
class CloudAuditLogStatus
|
418
|
+
include Google::Apis::Core::Hashable
|
419
|
+
|
420
|
+
# Array of observed CloudAuditLogConditions, indicating the current state
|
421
|
+
# of the CloudAuditLog.
|
422
|
+
# Corresponds to the JSON property `conditions`
|
423
|
+
# @return [Array<Google::Apis::RunV1alpha1::Condition>]
|
424
|
+
attr_accessor :conditions
|
425
|
+
|
426
|
+
# ObservedGeneration is the 'Generation' of the CloudAuditLog that
|
427
|
+
# was last processed by the controller.
|
428
|
+
# Corresponds to the JSON property `observedGeneration`
|
429
|
+
# @return [Fixnum]
|
430
|
+
attr_accessor :observed_generation
|
431
|
+
|
432
|
+
# SinkURI is the current active sink URI that has been configured for the
|
433
|
+
# Source.
|
434
|
+
# +optional
|
435
|
+
# Corresponds to the JSON property `sinkUri`
|
436
|
+
# @return [String]
|
437
|
+
attr_accessor :sink_uri
|
438
|
+
|
439
|
+
def initialize(**args)
|
440
|
+
update!(**args)
|
441
|
+
end
|
442
|
+
|
443
|
+
# Update properties of this object
|
444
|
+
def update!(**args)
|
445
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
446
|
+
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
447
|
+
@sink_uri = args[:sink_uri] if args.key?(:sink_uri)
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
286
451
|
# CloudEventOverrides defines arguments for a Source that control the output
|
287
452
|
# format of the CloudEvents produced by the Source.
|
288
453
|
class CloudEventOverrides
|
@@ -1810,6 +1975,51 @@ module Google
|
|
1810
1975
|
end
|
1811
1976
|
end
|
1812
1977
|
|
1978
|
+
# ListCloudAuditLogsResponse is a list of CloudAuditLog resources.
|
1979
|
+
class ListCloudAuditLogsResponse
|
1980
|
+
include Google::Apis::Core::Hashable
|
1981
|
+
|
1982
|
+
# The API version for this call such as "events.cloud.google.com/v1alpha1".
|
1983
|
+
# Corresponds to the JSON property `apiVersion`
|
1984
|
+
# @return [String]
|
1985
|
+
attr_accessor :api_version
|
1986
|
+
|
1987
|
+
# List of CloudAuditLogs.
|
1988
|
+
# Corresponds to the JSON property `items`
|
1989
|
+
# @return [Array<Google::Apis::RunV1alpha1::CloudAuditLog>]
|
1990
|
+
attr_accessor :items
|
1991
|
+
|
1992
|
+
# The kind of this resource, in this case "CloudAuditLogList".
|
1993
|
+
# Corresponds to the JSON property `kind`
|
1994
|
+
# @return [String]
|
1995
|
+
attr_accessor :kind
|
1996
|
+
|
1997
|
+
# ListMeta describes metadata that synthetic resources must have, including
|
1998
|
+
# lists and various status objects. A resource may have only one of
|
1999
|
+
# `ObjectMeta, ListMeta`.
|
2000
|
+
# Corresponds to the JSON property `metadata`
|
2001
|
+
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
2002
|
+
attr_accessor :metadata
|
2003
|
+
|
2004
|
+
# Locations that could not be reached.
|
2005
|
+
# Corresponds to the JSON property `unreachable`
|
2006
|
+
# @return [Array<String>]
|
2007
|
+
attr_accessor :unreachable
|
2008
|
+
|
2009
|
+
def initialize(**args)
|
2010
|
+
update!(**args)
|
2011
|
+
end
|
2012
|
+
|
2013
|
+
# Update properties of this object
|
2014
|
+
def update!(**args)
|
2015
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
2016
|
+
@items = args[:items] if args.key?(:items)
|
2017
|
+
@kind = args[:kind] if args.key?(:kind)
|
2018
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
2019
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2020
|
+
end
|
2021
|
+
end
|
2022
|
+
|
1813
2023
|
# ListConfigurationsResponse is a list of Configuration resources.
|
1814
2024
|
class ListConfigurationsResponse
|
1815
2025
|
include Google::Apis::Core::Hashable
|
@@ -2201,6 +2411,51 @@ module Google
|
|
2201
2411
|
end
|
2202
2412
|
end
|
2203
2413
|
|
2414
|
+
# ListStoragesResponse is a list of Storage resources.
|
2415
|
+
class ListStoragesResponse
|
2416
|
+
include Google::Apis::Core::Hashable
|
2417
|
+
|
2418
|
+
# The API version for this call such as "events.cloud.google.com/v1alpha1".
|
2419
|
+
# Corresponds to the JSON property `apiVersion`
|
2420
|
+
# @return [String]
|
2421
|
+
attr_accessor :api_version
|
2422
|
+
|
2423
|
+
# List of Storages.
|
2424
|
+
# Corresponds to the JSON property `items`
|
2425
|
+
# @return [Array<Google::Apis::RunV1alpha1::Storage>]
|
2426
|
+
attr_accessor :items
|
2427
|
+
|
2428
|
+
# The kind of this resource, in this case "StorageList".
|
2429
|
+
# Corresponds to the JSON property `kind`
|
2430
|
+
# @return [String]
|
2431
|
+
attr_accessor :kind
|
2432
|
+
|
2433
|
+
# ListMeta describes metadata that synthetic resources must have, including
|
2434
|
+
# lists and various status objects. A resource may have only one of
|
2435
|
+
# `ObjectMeta, ListMeta`.
|
2436
|
+
# Corresponds to the JSON property `metadata`
|
2437
|
+
# @return [Google::Apis::RunV1alpha1::ListMeta]
|
2438
|
+
attr_accessor :metadata
|
2439
|
+
|
2440
|
+
# Locations that could not be reached.
|
2441
|
+
# Corresponds to the JSON property `unreachable`
|
2442
|
+
# @return [Array<String>]
|
2443
|
+
attr_accessor :unreachable
|
2444
|
+
|
2445
|
+
def initialize(**args)
|
2446
|
+
update!(**args)
|
2447
|
+
end
|
2448
|
+
|
2449
|
+
# Update properties of this object
|
2450
|
+
def update!(**args)
|
2451
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
2452
|
+
@items = args[:items] if args.key?(:items)
|
2453
|
+
@kind = args[:kind] if args.key?(:kind)
|
2454
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
2455
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2456
|
+
end
|
2457
|
+
end
|
2458
|
+
|
2204
2459
|
# ListTriggersResponse is a list of Trigger resources.
|
2205
2460
|
class ListTriggersResponse
|
2206
2461
|
include Google::Apis::Core::Hashable
|
@@ -2955,6 +3210,15 @@ module Google
|
|
2955
3210
|
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
|
2956
3211
|
attr_accessor :secret
|
2957
3212
|
|
3213
|
+
# Email address of the IAM service account associated with the source. The
|
3214
|
+
# service account represents the identity of the source, and determines what
|
3215
|
+
# permissions the source has. If not provided, the source will use the
|
3216
|
+
# project's Compute Engine default service account.
|
3217
|
+
# +optional
|
3218
|
+
# Corresponds to the JSON property `serviceAccountName`
|
3219
|
+
# @return [String]
|
3220
|
+
attr_accessor :service_account_name
|
3221
|
+
|
2958
3222
|
# Sink is a reference to an object that will resolve to a domain name or a
|
2959
3223
|
# URI directly to use as the sink.
|
2960
3224
|
# Corresponds to the JSON property `sink`
|
@@ -2982,6 +3246,7 @@ module Google
|
|
2982
3246
|
@retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
|
2983
3247
|
@retention_duration = args[:retention_duration] if args.key?(:retention_duration)
|
2984
3248
|
@secret = args[:secret] if args.key?(:secret)
|
3249
|
+
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
|
2985
3250
|
@sink = args[:sink] if args.key?(:sink)
|
2986
3251
|
@topic = args[:topic] if args.key?(:topic)
|
2987
3252
|
end
|
@@ -4363,6 +4628,165 @@ module Google
|
|
4363
4628
|
end
|
4364
4629
|
end
|
4365
4630
|
|
4631
|
+
#
|
4632
|
+
class Storage
|
4633
|
+
include Google::Apis::Core::Hashable
|
4634
|
+
|
4635
|
+
# The API version for this call such as "events.cloud.google.com/v1alpha1".
|
4636
|
+
# Corresponds to the JSON property `apiVersion`
|
4637
|
+
# @return [String]
|
4638
|
+
attr_accessor :api_version
|
4639
|
+
|
4640
|
+
# The kind of resource, in this case "Storage".
|
4641
|
+
# Corresponds to the JSON property `kind`
|
4642
|
+
# @return [String]
|
4643
|
+
attr_accessor :kind
|
4644
|
+
|
4645
|
+
# ObjectMeta is metadata that all persisted resources must have, which includes
|
4646
|
+
# all objects users must create.
|
4647
|
+
# Corresponds to the JSON property `metadata`
|
4648
|
+
# @return [Google::Apis::RunV1alpha1::ObjectMeta]
|
4649
|
+
attr_accessor :metadata
|
4650
|
+
|
4651
|
+
# The desired state of the Storage.
|
4652
|
+
# Corresponds to the JSON property `spec`
|
4653
|
+
# @return [Google::Apis::RunV1alpha1::StorageSpec]
|
4654
|
+
attr_accessor :spec
|
4655
|
+
|
4656
|
+
# StorageStatus represents the current state of a Storage.
|
4657
|
+
# Corresponds to the JSON property `status`
|
4658
|
+
# @return [Google::Apis::RunV1alpha1::StorageStatus]
|
4659
|
+
attr_accessor :status
|
4660
|
+
|
4661
|
+
def initialize(**args)
|
4662
|
+
update!(**args)
|
4663
|
+
end
|
4664
|
+
|
4665
|
+
# Update properties of this object
|
4666
|
+
def update!(**args)
|
4667
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
4668
|
+
@kind = args[:kind] if args.key?(:kind)
|
4669
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
4670
|
+
@spec = args[:spec] if args.key?(:spec)
|
4671
|
+
@status = args[:status] if args.key?(:status)
|
4672
|
+
end
|
4673
|
+
end
|
4674
|
+
|
4675
|
+
# The desired state of the Storage.
|
4676
|
+
class StorageSpec
|
4677
|
+
include Google::Apis::Core::Hashable
|
4678
|
+
|
4679
|
+
# Bucket to subscribe to.
|
4680
|
+
# Corresponds to the JSON property `bucket`
|
4681
|
+
# @return [String]
|
4682
|
+
attr_accessor :bucket
|
4683
|
+
|
4684
|
+
# CloudEventOverrides defines arguments for a Source that control the output
|
4685
|
+
# format of the CloudEvents produced by the Source.
|
4686
|
+
# Corresponds to the JSON property `ceOverrides`
|
4687
|
+
# @return [Google::Apis::RunV1alpha1::CloudEventOverrides]
|
4688
|
+
attr_accessor :ce_overrides
|
4689
|
+
|
4690
|
+
# EventTypes to subscribe to. If unspecified, then subscribe to all events.
|
4691
|
+
# +optional
|
4692
|
+
# Corresponds to the JSON property `eventTypes`
|
4693
|
+
# @return [Array<String>]
|
4694
|
+
attr_accessor :event_types
|
4695
|
+
|
4696
|
+
# ObjectNamePrefix limits the notifications to objects with this prefix
|
4697
|
+
# +optional
|
4698
|
+
# Corresponds to the JSON property `objectNamePrefix`
|
4699
|
+
# @return [String]
|
4700
|
+
attr_accessor :object_name_prefix
|
4701
|
+
|
4702
|
+
# PayloadFormat specifies the contents of the message payload.
|
4703
|
+
# See https://cloud.google.com/storage/docs/pubsub-notifications#payload.
|
4704
|
+
# +optional
|
4705
|
+
# Corresponds to the JSON property `payloadFormat`
|
4706
|
+
# @return [String]
|
4707
|
+
attr_accessor :payload_format
|
4708
|
+
|
4709
|
+
# Project is the ID of the Google Cloud Project that the PubSub Topic exists
|
4710
|
+
# in. If omitted, defaults to same as the cluster. +optional
|
4711
|
+
# Corresponds to the JSON property `project`
|
4712
|
+
# @return [String]
|
4713
|
+
attr_accessor :project
|
4714
|
+
|
4715
|
+
# Cloud Run fully managed: not supported
|
4716
|
+
# Cloud Run on GKE: supported
|
4717
|
+
# SecretKeySelector selects a key of a Secret.
|
4718
|
+
# Corresponds to the JSON property `pubsubSecret`
|
4719
|
+
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
|
4720
|
+
attr_accessor :pubsub_secret
|
4721
|
+
|
4722
|
+
# Cloud Run fully managed: not supported
|
4723
|
+
# Cloud Run on GKE: supported
|
4724
|
+
# SecretKeySelector selects a key of a Secret.
|
4725
|
+
# Corresponds to the JSON property `secret`
|
4726
|
+
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
|
4727
|
+
attr_accessor :secret
|
4728
|
+
|
4729
|
+
# ServiceAccountName holds the name of the Kubernetes service account
|
4730
|
+
# as which the underlying K8s resources should be run. If unspecified
|
4731
|
+
# this will default to the "default" service account for the namespace
|
4732
|
+
# in which the GCS exists.
|
4733
|
+
# +optional
|
4734
|
+
# Corresponds to the JSON property `serviceAccountName`
|
4735
|
+
# @return [String]
|
4736
|
+
attr_accessor :service_account_name
|
4737
|
+
|
4738
|
+
# Sink is a reference to an object that will resolve to a domain name or a
|
4739
|
+
# URI directly to use as the sink.
|
4740
|
+
# Corresponds to the JSON property `sink`
|
4741
|
+
# @return [Google::Apis::RunV1alpha1::Destination]
|
4742
|
+
attr_accessor :sink
|
4743
|
+
|
4744
|
+
def initialize(**args)
|
4745
|
+
update!(**args)
|
4746
|
+
end
|
4747
|
+
|
4748
|
+
# Update properties of this object
|
4749
|
+
def update!(**args)
|
4750
|
+
@bucket = args[:bucket] if args.key?(:bucket)
|
4751
|
+
@ce_overrides = args[:ce_overrides] if args.key?(:ce_overrides)
|
4752
|
+
@event_types = args[:event_types] if args.key?(:event_types)
|
4753
|
+
@object_name_prefix = args[:object_name_prefix] if args.key?(:object_name_prefix)
|
4754
|
+
@payload_format = args[:payload_format] if args.key?(:payload_format)
|
4755
|
+
@project = args[:project] if args.key?(:project)
|
4756
|
+
@pubsub_secret = args[:pubsub_secret] if args.key?(:pubsub_secret)
|
4757
|
+
@secret = args[:secret] if args.key?(:secret)
|
4758
|
+
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
|
4759
|
+
@sink = args[:sink] if args.key?(:sink)
|
4760
|
+
end
|
4761
|
+
end
|
4762
|
+
|
4763
|
+
# StorageStatus represents the current state of a Storage.
|
4764
|
+
class StorageStatus
|
4765
|
+
include Google::Apis::Core::Hashable
|
4766
|
+
|
4767
|
+
# Array of observed StorageConditions, indicating the current state
|
4768
|
+
# of the Storage.
|
4769
|
+
# Corresponds to the JSON property `conditions`
|
4770
|
+
# @return [Array<Google::Apis::RunV1alpha1::Condition>]
|
4771
|
+
attr_accessor :conditions
|
4772
|
+
|
4773
|
+
# ObservedGeneration is the 'Generation' of the Storage that
|
4774
|
+
# was last processed by the controller.
|
4775
|
+
# Corresponds to the JSON property `observedGeneration`
|
4776
|
+
# @return [Fixnum]
|
4777
|
+
attr_accessor :observed_generation
|
4778
|
+
|
4779
|
+
def initialize(**args)
|
4780
|
+
update!(**args)
|
4781
|
+
end
|
4782
|
+
|
4783
|
+
# Update properties of this object
|
4784
|
+
def update!(**args)
|
4785
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
4786
|
+
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
4787
|
+
end
|
4788
|
+
end
|
4789
|
+
|
4366
4790
|
#
|
4367
4791
|
class SubscriberSpec
|
4368
4792
|
include Google::Apis::Core::Hashable
|