google-api-client 0.32.0 → 0.32.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -0
  3. data/generated/google/apis/appengine_v1.rb +1 -1
  4. data/generated/google/apis/appengine_v1/service.rb +6 -1
  5. data/generated/google/apis/appengine_v1beta.rb +1 -1
  6. data/generated/google/apis/appengine_v1beta/service.rb +6 -1
  7. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  8. data/generated/google/apis/binaryauthorization_v1/classes.rb +2 -2
  9. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  10. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
  11. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  12. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +2 -2
  13. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +21 -21
  14. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  15. data/generated/google/apis/cloudfunctions_v1/classes.rb +62 -29
  16. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  17. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +63 -30
  18. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  19. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +62 -29
  20. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  21. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +62 -29
  22. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  23. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +62 -29
  24. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  25. data/generated/google/apis/cloudtasks_v2/classes.rb +62 -29
  26. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  27. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +62 -29
  28. data/generated/google/apis/dlp_v2.rb +1 -1
  29. data/generated/google/apis/dlp_v2/classes.rb +0 -28
  30. data/generated/google/apis/dlp_v2/representations.rb +0 -14
  31. data/generated/google/apis/dlp_v2/service.rb +11 -5
  32. data/generated/google/apis/dns_v1.rb +1 -1
  33. data/generated/google/apis/dns_v1/classes.rb +8 -0
  34. data/generated/google/apis/dns_v1/representations.rb +1 -0
  35. data/generated/google/apis/dns_v2beta1.rb +1 -1
  36. data/generated/google/apis/dns_v2beta1/classes.rb +8 -0
  37. data/generated/google/apis/dns_v2beta1/representations.rb +1 -0
  38. data/generated/google/apis/drive_v2.rb +1 -1
  39. data/generated/google/apis/drive_v2/classes.rb +2 -0
  40. data/generated/google/apis/drive_v3.rb +1 -1
  41. data/generated/google/apis/drive_v3/service.rb +9 -3
  42. data/generated/google/apis/logging_v2.rb +1 -1
  43. data/generated/google/apis/logging_v2/classes.rb +11 -3
  44. data/generated/google/apis/logging_v2/representations.rb +1 -0
  45. data/generated/google/apis/monitoring_v3.rb +1 -1
  46. data/generated/google/apis/monitoring_v3/classes.rb +6 -4
  47. data/generated/google/apis/pubsub_v1.rb +1 -1
  48. data/generated/google/apis/pubsub_v1/classes.rb +62 -29
  49. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  50. data/generated/google/apis/pubsub_v1beta2/classes.rb +62 -29
  51. data/generated/google/apis/run_v1.rb +1 -1
  52. data/generated/google/apis/run_v1/classes.rb +7 -5
  53. data/generated/google/apis/run_v1alpha1.rb +1 -1
  54. data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
  55. data/generated/google/apis/run_v1beta1.rb +1 -4
  56. data/generated/google/apis/run_v1beta1/classes.rb +32 -70
  57. data/generated/google/apis/run_v1beta1/representations.rb +0 -29
  58. data/generated/google/apis/run_v1beta1/service.rb +62 -0
  59. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  60. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -0
  61. data/generated/google/apis/servicebroker_v1.rb +1 -1
  62. data/generated/google/apis/servicebroker_v1/service.rb +1 -0
  63. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  64. data/generated/google/apis/servicebroker_v1alpha1/service.rb +1 -0
  65. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  66. data/generated/google/apis/servicebroker_v1beta1/service.rb +1 -0
  67. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  68. data/generated/google/apis/servicecontrol_v1/classes.rb +5 -4
  69. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  70. data/generated/google/apis/servicemanagement_v1/classes.rb +13 -4
  71. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  72. data/generated/google/apis/vault_v1.rb +1 -1
  73. data/generated/google/apis/vault_v1/service.rb +33 -0
  74. data/lib/google/apis/version.rb +1 -1
  75. metadata +2 -2
@@ -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 = '20190826'
28
+ REVISION = '20190923'
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'
@@ -329,25 +329,34 @@ module Google
329
329
 
330
330
  # Defines an Identity and Access Management (IAM) policy. It is used to
331
331
  # specify access control policies for Cloud Platform resources.
332
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
333
- # `members` to a `role`, where the members can be user accounts, Google groups,
334
- # Google domains, and service accounts. A `role` is a named list of permissions
335
- # defined by IAM.
332
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
333
+ # `members` to a single `role`. Members can be user accounts, service accounts,
334
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
335
+ # permissions (defined by IAM or configured by users). A `binding` can
336
+ # optionally specify a `condition`, which is a logic expression that further
337
+ # constrains the role binding based on attributes about the request and/or
338
+ # target resource.
336
339
  # **JSON Example**
337
340
  # `
338
341
  # "bindings": [
339
342
  # `
340
- # "role": "roles/owner",
343
+ # "role": "roles/resourcemanager.organizationAdmin",
341
344
  # "members": [
342
345
  # "user:mike@example.com",
343
346
  # "group:admins@example.com",
344
347
  # "domain:google.com",
345
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
348
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
346
349
  # ]
347
350
  # `,
348
351
  # `
349
- # "role": "roles/viewer",
350
- # "members": ["user:sean@example.com"]
352
+ # "role": "roles/resourcemanager.organizationViewer",
353
+ # "members": ["user:eve@example.com"],
354
+ # "condition": `
355
+ # "title": "expirable access",
356
+ # "description": "Does not grant access after Sep 2020",
357
+ # "expression": "request.time <
358
+ # timestamp('2020-10-01T00:00:00.000Z')",
359
+ # `
351
360
  # `
352
361
  # ]
353
362
  # `
@@ -357,17 +366,22 @@ module Google
357
366
  # - user:mike@example.com
358
367
  # - group:admins@example.com
359
368
  # - domain:google.com
360
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
361
- # role: roles/owner
369
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
370
+ # role: roles/resourcemanager.organizationAdmin
362
371
  # - members:
363
- # - user:sean@example.com
364
- # role: roles/viewer
372
+ # - user:eve@example.com
373
+ # role: roles/resourcemanager.organizationViewer
374
+ # condition:
375
+ # title: expirable access
376
+ # description: Does not grant access after Sep 2020
377
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
365
378
  # For a description of IAM and its features, see the
366
379
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
367
380
  class Policy
368
381
  include Google::Apis::Core::Hashable
369
382
 
370
- # Associates a list of `members` to a `role`.
383
+ # Associates a list of `members` to a `role`. Optionally may specify a
384
+ # `condition` that determines when binding is in effect.
371
385
  # `bindings` with no members will result in an error.
372
386
  # Corresponds to the JSON property `bindings`
373
387
  # @return [Array<Google::Apis::PubsubV1beta2::Binding>]
@@ -381,7 +395,9 @@ module Google
381
395
  # systems are expected to put that etag in the request to `setIamPolicy` to
382
396
  # ensure that their change will be applied to the same version of the policy.
383
397
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
384
- # policy is overwritten.
398
+ # policy is overwritten. Due to blind-set semantics of an etag-less policy,
399
+ # 'setIamPolicy' will not fail even if either of incoming or stored policy
400
+ # does not meet the version requirements.
385
401
  # Corresponds to the JSON property `etag`
386
402
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
387
403
  # @return [String]
@@ -390,9 +406,13 @@ module Google
390
406
  # Specifies the format of the policy.
391
407
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
392
408
  # rejected.
393
- # Policies with any conditional bindings must specify version 3. Policies
394
- # without any conditional bindings may specify any valid value or leave the
395
- # field unset.
409
+ # Operations affecting conditional bindings must specify version 3. This can
410
+ # be either setting a conditional policy, modifying a conditional binding,
411
+ # or removing a conditional binding from the stored conditional policy.
412
+ # Operations on non-conditional policies may specify any valid value or
413
+ # leave the field unset.
414
+ # If no etag is provided in the call to `setIamPolicy`, any version
415
+ # compliance checks on the incoming and/or stored policy is skipped.
396
416
  # Corresponds to the JSON property `version`
397
417
  # @return [Fixnum]
398
418
  attr_accessor :version
@@ -629,25 +649,34 @@ module Google
629
649
 
630
650
  # Defines an Identity and Access Management (IAM) policy. It is used to
631
651
  # specify access control policies for Cloud Platform resources.
632
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
633
- # `members` to a `role`, where the members can be user accounts, Google groups,
634
- # Google domains, and service accounts. A `role` is a named list of permissions
635
- # defined by IAM.
652
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
653
+ # `members` to a single `role`. Members can be user accounts, service accounts,
654
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
655
+ # permissions (defined by IAM or configured by users). A `binding` can
656
+ # optionally specify a `condition`, which is a logic expression that further
657
+ # constrains the role binding based on attributes about the request and/or
658
+ # target resource.
636
659
  # **JSON Example**
637
660
  # `
638
661
  # "bindings": [
639
662
  # `
640
- # "role": "roles/owner",
663
+ # "role": "roles/resourcemanager.organizationAdmin",
641
664
  # "members": [
642
665
  # "user:mike@example.com",
643
666
  # "group:admins@example.com",
644
667
  # "domain:google.com",
645
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
668
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
646
669
  # ]
647
670
  # `,
648
671
  # `
649
- # "role": "roles/viewer",
650
- # "members": ["user:sean@example.com"]
672
+ # "role": "roles/resourcemanager.organizationViewer",
673
+ # "members": ["user:eve@example.com"],
674
+ # "condition": `
675
+ # "title": "expirable access",
676
+ # "description": "Does not grant access after Sep 2020",
677
+ # "expression": "request.time <
678
+ # timestamp('2020-10-01T00:00:00.000Z')",
679
+ # `
651
680
  # `
652
681
  # ]
653
682
  # `
@@ -657,11 +686,15 @@ module Google
657
686
  # - user:mike@example.com
658
687
  # - group:admins@example.com
659
688
  # - domain:google.com
660
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
661
- # role: roles/owner
689
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
690
+ # role: roles/resourcemanager.organizationAdmin
662
691
  # - members:
663
- # - user:sean@example.com
664
- # role: roles/viewer
692
+ # - user:eve@example.com
693
+ # role: roles/resourcemanager.organizationViewer
694
+ # condition:
695
+ # title: expirable access
696
+ # description: Does not grant access after Sep 2020
697
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
665
698
  # For a description of IAM and its features, see the
666
699
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
667
700
  # Corresponds to the JSON property `policy`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/run/
27
27
  module RunV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190920'
29
+ REVISION = '20190927'
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'
@@ -638,7 +638,7 @@ module Google
638
638
  include Google::Apis::Core::Hashable
639
639
 
640
640
  # (Optional)
641
- # Cloud Run fully managed: not supported
641
+ # Cloud Run fully managed: supported
642
642
  # Cloud Run for Anthos: supported
643
643
  # Arguments to the entrypoint.
644
644
  # The docker image's CMD is used if this is not provided.
@@ -2187,7 +2187,7 @@ module Google
2187
2187
  # `
2188
2188
  # "bindings": [
2189
2189
  # `
2190
- # "role": "role/resourcemanager.organizationAdmin",
2190
+ # "role": "roles/resourcemanager.organizationAdmin",
2191
2191
  # "members": [
2192
2192
  # "user:mike@example.com",
2193
2193
  # "group:admins@example.com",
@@ -2400,7 +2400,8 @@ module Google
2400
2400
  include Google::Apis::Core::Hashable
2401
2401
 
2402
2402
  # (Optional)
2403
- # Cloud Run fully managed: Only memory is supported
2403
+ # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
2404
+ # supported value for CPU is '1'.
2404
2405
  # Cloud Run for Anthos: supported
2405
2406
  # Limits describes the maximum amount of compute resources allowed.
2406
2407
  # The values of the map is string form of the 'quantity' k8s type:
@@ -2411,7 +2412,8 @@ module Google
2411
2412
  attr_accessor :limits
2412
2413
 
2413
2414
  # (Optional)
2414
- # Cloud Run fully managed: not supported
2415
+ # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
2416
+ # supported value for CPU is '1'.
2415
2417
  # Cloud Run for Anthos: supported
2416
2418
  # Requests describes the minimum amount of compute resources required.
2417
2419
  # If Requests is omitted for a container, it defaults to Limits if that is
@@ -3130,7 +3132,7 @@ module Google
3130
3132
  # `
3131
3133
  # "bindings": [
3132
3134
  # `
3133
- # "role": "role/resourcemanager.organizationAdmin",
3135
+ # "role": "roles/resourcemanager.organizationAdmin",
3134
3136
  # "members": [
3135
3137
  # "user:mike@example.com",
3136
3138
  # "group:admins@example.com",
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/run/
27
27
  module RunV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20190920'
29
+ REVISION = '20190927'
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'
@@ -2515,7 +2515,7 @@ module Google
2515
2515
  # `
2516
2516
  # "bindings": [
2517
2517
  # `
2518
- # "role": "role/resourcemanager.organizationAdmin",
2518
+ # "role": "roles/resourcemanager.organizationAdmin",
2519
2519
  # "members": [
2520
2520
  # "user:mike@example.com",
2521
2521
  # "group:admins@example.com",
@@ -3948,7 +3948,7 @@ module Google
3948
3948
  # `
3949
3949
  # "bindings": [
3950
3950
  # `
3951
- # "role": "role/resourcemanager.organizationAdmin",
3951
+ # "role": "roles/resourcemanager.organizationAdmin",
3952
3952
  # "members": [
3953
3953
  # "user:mike@example.com",
3954
3954
  # "group:admins@example.com",
@@ -4303,8 +4303,8 @@ module Google
4303
4303
  # @return [Hash<String,String>]
4304
4304
  attr_accessor :attributes
4305
4305
 
4306
- # TriggerFilterSourceAndType filters events based on exact matches on the cloud
4307
- # event's type and source attributes. Only exact matches will pass the filter.
4306
+ # TriggerFilterSourceAndType is DEPRECATED. Filters are now contained in the
4307
+ # map of attributes in TriggerFilter proto.
4308
4308
  # Corresponds to the JSON property `sourceAndType`
4309
4309
  # @return [Google::Apis::RunV1alpha1::TriggerFilterSourceAndType]
4310
4310
  attr_accessor :source_and_type
@@ -4320,8 +4320,8 @@ module Google
4320
4320
  end
4321
4321
  end
4322
4322
 
4323
- # TriggerFilterSourceAndType filters events based on exact matches on the cloud
4324
- # event's type and source attributes. Only exact matches will pass the filter.
4323
+ # TriggerFilterSourceAndType is DEPRECATED. Filters are now contained in the
4324
+ # map of attributes in TriggerFilter proto.
4325
4325
  class TriggerFilterSourceAndType
4326
4326
  include Google::Apis::Core::Hashable
4327
4327
 
@@ -26,10 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/run/
27
27
  module RunV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20190920'
30
-
31
- # View and manage your data across Google Cloud Platform services
32
- AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
29
+ REVISION = '20190927'
33
30
  end
34
31
  end
35
32
  end
@@ -100,8 +100,8 @@ module Google
100
100
  # @return [String]
101
101
  attr_accessor :kind
102
102
 
103
- # ObjectMeta is metadata that all persisted resources must have, which includes
104
- # all objects users must create.
103
+ # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
104
+ # persisted resources must have, which includes all objects users must create.
105
105
  # Corresponds to the JSON property `metadata`
106
106
  # @return [Google::Apis::RunV1beta1::ObjectMeta]
107
107
  attr_accessor :metadata
@@ -444,49 +444,6 @@ module Google
444
444
  end
445
445
  end
446
446
 
447
- # Initializer is information about an initializer that has not yet completed.
448
- class Initializer
449
- include Google::Apis::Core::Hashable
450
-
451
- # name of the process that is responsible for initializing this object.
452
- # Corresponds to the JSON property `name`
453
- # @return [String]
454
- attr_accessor :name
455
-
456
- def initialize(**args)
457
- update!(**args)
458
- end
459
-
460
- # Update properties of this object
461
- def update!(**args)
462
- @name = args[:name] if args.key?(:name)
463
- end
464
- end
465
-
466
- # Initializers tracks the progress of initialization.
467
- class Initializers
468
- include Google::Apis::Core::Hashable
469
-
470
- # Pending is a list of initializers that must execute in order before this
471
- # object is visible. When the last pending initializer is removed, and no
472
- # failing result is set, the initializers struct will be set to nil and the
473
- # object is considered as initialized and visible to all clients.
474
- # +patchMergeKey=name
475
- # +patchStrategy=merge
476
- # Corresponds to the JSON property `pending`
477
- # @return [Array<Google::Apis::RunV1beta1::Initializer>]
478
- attr_accessor :pending
479
-
480
- def initialize(**args)
481
- update!(**args)
482
- end
483
-
484
- # Update properties of this object
485
- def update!(**args)
486
- @pending = args[:pending] if args.key?(:pending)
487
- end
488
- end
489
-
490
447
  # JSON represents any valid JSON value.
491
448
  # These types are supported: bool, int64, float64, string, []interface``,
492
449
  # map[string]interface`` and nil.
@@ -930,28 +887,32 @@ module Google
930
887
  end
931
888
  end
932
889
 
933
- # ObjectMeta is metadata that all persisted resources must have, which includes
934
- # all objects users must create.
890
+ # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
891
+ # persisted resources must have, which includes all objects users must create.
935
892
  class ObjectMeta
936
893
  include Google::Apis::Core::Hashable
937
894
 
895
+ # (Optional)
938
896
  # Annotations is an unstructured key value map stored with a resource that
939
897
  # may be set by external tools to store and retrieve arbitrary metadata. They
940
898
  # are not queryable and should be preserved when modifying objects. More
941
- # info: http://kubernetes.io/docs/user-guide/annotations +optional
899
+ # info: http://kubernetes.io/docs/user-guide/annotations
942
900
  # Corresponds to the JSON property `annotations`
943
901
  # @return [Hash<String,String>]
944
902
  attr_accessor :annotations
945
903
 
946
- # Not currently supported by Cloud Run.
904
+ # (Optional)
905
+ # Cloud Run fully managed: not supported
906
+ # Cloud Run for Anthos: supported
947
907
  # The name of the cluster which the object belongs to.
948
908
  # This is used to distinguish resources with same name and namespace in
949
909
  # different clusters. This field is not set anywhere right now and apiserver
950
- # is going to ignore it if set in create or update request. +optional
910
+ # is going to ignore it if set in create or update request.
951
911
  # Corresponds to the JSON property `clusterName`
952
912
  # @return [String]
953
913
  attr_accessor :cluster_name
954
914
 
915
+ # (Optional)
955
916
  # CreationTimestamp is a timestamp representing the server time when this
956
917
  # object was created. It is not guaranteed to be set in happens-before order
957
918
  # across separate operations. Clients may not set this value. It is
@@ -961,19 +922,23 @@ module Google
961
922
  # Null for lists.
962
923
  # More info:
963
924
  # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
964
- # +optional
965
925
  # Corresponds to the JSON property `creationTimestamp`
966
926
  # @return [String]
967
927
  attr_accessor :creation_timestamp
968
928
 
969
- # Not currently supported by Cloud Run.
929
+ # (Optional)
930
+ # Cloud Run fully managed: not supported
931
+ # Cloud Run for Anthos: supported
970
932
  # Number of seconds allowed for this object to gracefully terminate before
971
933
  # it will be removed from the system. Only set when deletionTimestamp is also
972
- # set. May only be shortened. Read-only. +optional
934
+ # set. May only be shortened. Read-only.
973
935
  # Corresponds to the JSON property `deletionGracePeriodSeconds`
974
936
  # @return [Fixnum]
975
937
  attr_accessor :deletion_grace_period_seconds
976
938
 
939
+ # (Optional)
940
+ # Cloud Run fully managed: not supported
941
+ # Cloud Run for Anthos: supported
977
942
  # DeletionTimestamp is RFC 3339 date and time at which this resource will be
978
943
  # deleted. This field is set by the server when a graceful deletion is
979
944
  # requested by the user, and is not directly settable by a client. The
@@ -995,23 +960,25 @@ module Google
995
960
  # Read-only.
996
961
  # More info:
997
962
  # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
998
- # +optional
999
963
  # Corresponds to the JSON property `deletionTimestamp`
1000
964
  # @return [String]
1001
965
  attr_accessor :deletion_timestamp
1002
966
 
1003
- # Not currently supported by Cloud Run.
967
+ # (Optional)
968
+ # Cloud Run fully managed: not supported
969
+ # Cloud Run for Anthos: supported
1004
970
  # Must be empty before the object is deleted from the registry. Each entry
1005
971
  # is an identifier for the responsible component that will remove the entry
1006
972
  # from the list. If the deletionTimestamp of the object is non-nil, entries
1007
973
  # in this list can only be removed.
1008
- # +optional
1009
974
  # +patchStrategy=merge
1010
975
  # Corresponds to the JSON property `finalizers`
1011
976
  # @return [Array<String>]
1012
977
  attr_accessor :finalizers
1013
978
 
1014
- # Not currently supported by Cloud Run.
979
+ # (Optional)
980
+ # Cloud Run fully managed: not supported
981
+ # Cloud Run for Anthos: supported
1015
982
  # GenerateName is an optional prefix, used by the server, to generate a
1016
983
  # unique name ONLY IF the Name field has not been provided. If this field is
1017
984
  # used, the name returned to the client will be different than the name
@@ -1027,29 +994,23 @@ module Google
1027
994
  # Applied only if Name is not specified.
1028
995
  # More info:
1029
996
  # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
1030
- # +optional
1031
997
  # string generateName = 2;
1032
998
  # Corresponds to the JSON property `generateName`
1033
999
  # @return [String]
1034
1000
  attr_accessor :generate_name
1035
1001
 
1002
+ # (Optional)
1036
1003
  # A sequence number representing a specific generation of the desired state.
1037
1004
  # Populated by the system. Read-only.
1038
- # +optional
1039
1005
  # Corresponds to the JSON property `generation`
1040
1006
  # @return [Fixnum]
1041
1007
  attr_accessor :generation
1042
1008
 
1043
- # Initializers tracks the progress of initialization.
1044
- # Corresponds to the JSON property `initializers`
1045
- # @return [Google::Apis::RunV1beta1::Initializers]
1046
- attr_accessor :initializers
1047
-
1009
+ # (Optional)
1048
1010
  # Map of string keys and values that can be used to organize and categorize
1049
1011
  # (scope and select) objects. May match selectors of replication controllers
1050
1012
  # and routes.
1051
1013
  # More info: http://kubernetes.io/docs/user-guide/labels
1052
- # +optional
1053
1014
  # Corresponds to the JSON property `labels`
1054
1015
  # @return [Hash<String,String>]
1055
1016
  attr_accessor :labels
@@ -1072,13 +1033,16 @@ module Google
1072
1033
  # @return [String]
1073
1034
  attr_accessor :namespace
1074
1035
 
1036
+ # (Optional)
1037
+ # Cloud Run fully managed: not supported
1038
+ # Cloud Run for Anthos: supported
1075
1039
  # List of objects that own this object. If ALL objects in the list have
1076
1040
  # been deleted, this object will be garbage collected.
1077
- # +optional
1078
1041
  # Corresponds to the JSON property `ownerReferences`
1079
1042
  # @return [Array<Google::Apis::RunV1beta1::OwnerReference>]
1080
1043
  attr_accessor :owner_references
1081
1044
 
1045
+ # (Optional)
1082
1046
  # An opaque value that represents the internal version of this object that
1083
1047
  # can be used by clients to determine when objects have changed. May be used
1084
1048
  # for optimistic concurrency, change detection, and the watch operation on a
@@ -1091,27 +1055,26 @@ module Google
1091
1055
  # More info:
1092
1056
  # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
1093
1057
  # control-and-consistency
1094
- # +optional
1095
1058
  # Corresponds to the JSON property `resourceVersion`
1096
1059
  # @return [String]
1097
1060
  attr_accessor :resource_version
1098
1061
 
1062
+ # (Optional)
1099
1063
  # SelfLink is a URL representing this object.
1100
1064
  # Populated by the system.
1101
1065
  # Read-only.
1102
- # +optional
1103
1066
  # string selfLink = 4;
1104
1067
  # Corresponds to the JSON property `selfLink`
1105
1068
  # @return [String]
1106
1069
  attr_accessor :self_link
1107
1070
 
1071
+ # (Optional)
1108
1072
  # UID is the unique in time and space value for this object. It is typically
1109
1073
  # generated by the server on successful creation of a resource and is not
1110
1074
  # allowed to change on PUT operations.
1111
1075
  # Populated by the system.
1112
1076
  # Read-only.
1113
1077
  # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
1114
- # +optional
1115
1078
  # Corresponds to the JSON property `uid`
1116
1079
  # @return [String]
1117
1080
  attr_accessor :uid
@@ -1130,7 +1093,6 @@ module Google
1130
1093
  @finalizers = args[:finalizers] if args.key?(:finalizers)
1131
1094
  @generate_name = args[:generate_name] if args.key?(:generate_name)
1132
1095
  @generation = args[:generation] if args.key?(:generation)
1133
- @initializers = args[:initializers] if args.key?(:initializers)
1134
1096
  @labels = args[:labels] if args.key?(:labels)
1135
1097
  @name = args[:name] if args.key?(:name)
1136
1098
  @namespace = args[:namespace] if args.key?(:namespace)