google-apis-clouddeploy_v1 0.2.0 → 0.5.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d335dc68e73df55a78b77247e18dc878210c260d409ceb20f098d7223224dc3
4
- data.tar.gz: ba3c766640f94e1398e12529b8fc4a382a6b20435510bf7f7267b32caaa83af0
3
+ metadata.gz: 9c02da7eec5e9bd76ac859b8b7230d6552c666a89824fb6b9a332f0ee54b598b
4
+ data.tar.gz: 71bbe97139293980a8796d5c06e6e29c49e5214b4e37e2677b3a0d15dad43e79
5
5
  SHA512:
6
- metadata.gz: 44fe0f5426ff75f359130a796766dbea7fce86444dcd155fcffdec17cb9757ad96210e469867eadddf1e378389abc6ff273512b2acb1dc0b518103d2490ca406
7
- data.tar.gz: 4f6fb3bd818703b1d7f50b7b22cb9092d36b4a7433214b1121a1de5d658b50bb880714d44d73e3c9a45c1d228f3f523c496f2fa56be1fef0b87ac0cce5c8ccd1
6
+ metadata.gz: fb0628b0902991d40cb94d10dc34ac4cfdc0082b19e681d671b073ea76286cdde21d68284e1dd677b4b93345d1bda7e4a83f1f1f25ff03a8bc731af96cc63735
7
+ data.tar.gz: 007a2b2a6385927f057cb4b8ab7862448a1ab4058b91ed06186992a12cfd7b079a97c5d04a5ed785115fdbc786830b8907c4ec79202d85c2767318262bbc8ac5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.5.0 (2022-03-12)
4
+
5
+ * Regenerated from discovery document revision 20220302
6
+
7
+ ### v0.4.0 (2022-02-12)
8
+
9
+ * Regenerated from discovery document revision 20220202
10
+
11
+ ### v0.3.0 (2022-01-29)
12
+
13
+ * Regenerated from discovery document revision 20220124
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.2.0 (2021-12-18)
4
17
 
5
18
  * Regenerated from discovery document revision 20211212
@@ -22,6 +22,27 @@ module Google
22
22
  module Apis
23
23
  module ClouddeployV1
24
24
 
25
+ # Information specifying an Anthos Cluster.
26
+ class AnthosCluster
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Membership of the GKE Hub-registered cluster to which to apply the Skaffold
30
+ # configuration. Format is `projects/`project`/locations/`location`/memberships/`
31
+ # membership_name``.
32
+ # Corresponds to the JSON property `membership`
33
+ # @return [String]
34
+ attr_accessor :membership
35
+
36
+ def initialize(**args)
37
+ update!(**args)
38
+ end
39
+
40
+ # Update properties of this object
41
+ def update!(**args)
42
+ @membership = args[:membership] if args.key?(:membership)
43
+ end
44
+ end
45
+
25
46
  # The request object used by `ApproveRollout`.
26
47
  class ApproveRolloutRequest
27
48
  include Google::Apis::Core::Hashable
@@ -271,11 +292,11 @@ module Google
271
292
  # Represents a whole or partial calendar date, such as a birthday. The time of
272
293
  # day and time zone are either specified elsewhere or are insignificant. The
273
294
  # date is relative to the Gregorian Calendar. This can represent one of the
274
- # following: * A full date, with non-zero year, month, and day values * A month
275
- # and day value, with a zero year, such as an anniversary * A year on its own,
276
- # with zero month and day values * A year and month value, with a zero day, such
277
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
278
- # google.protobuf.Timestamp`.
295
+ # following: * A full date, with non-zero year, month, and day values. * A month
296
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
297
+ # with a zero month and a zero day. * A year and month, with a zero day (for
298
+ # example, a credit card expiration date). Related types: * google.type.
299
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
279
300
  class Date
280
301
  include Google::Apis::Core::Hashable
281
302
 
@@ -446,6 +467,14 @@ module Google
446
467
  class ExecutionConfig
447
468
  include Google::Apis::Core::Hashable
448
469
 
470
+ # Optional. Cloud Storage location in which to store execution outputs. This can
471
+ # either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-
472
+ # bucket/my-dir"). If unspecified, a default bucket located in the same region
473
+ # will be used.
474
+ # Corresponds to the JSON property `artifactStorage`
475
+ # @return [String]
476
+ attr_accessor :artifact_storage
477
+
449
478
  # Execution using the default Cloud Build pool.
450
479
  # Corresponds to the JSON property `defaultPool`
451
480
  # @return [Google::Apis::ClouddeployV1::DefaultPool]
@@ -456,20 +485,37 @@ module Google
456
485
  # @return [Google::Apis::ClouddeployV1::PrivatePool]
457
486
  attr_accessor :private_pool
458
487
 
488
+ # Optional. Google service account to use for execution. If unspecified, the
489
+ # project execution service account (-compute@developer.gserviceaccount.com) is
490
+ # used.
491
+ # Corresponds to the JSON property `serviceAccount`
492
+ # @return [String]
493
+ attr_accessor :service_account
494
+
459
495
  # Required. Usages when this configuration should be applied.
460
496
  # Corresponds to the JSON property `usages`
461
497
  # @return [Array<String>]
462
498
  attr_accessor :usages
463
499
 
500
+ # Optional. The resource name of the `WorkerPool`, with the format `projects/`
501
+ # project`/locations/`location`/workerPools/`worker_pool``. If this optional
502
+ # field is unspecified, the default Cloud Build pool will be used.
503
+ # Corresponds to the JSON property `workerPool`
504
+ # @return [String]
505
+ attr_accessor :worker_pool
506
+
464
507
  def initialize(**args)
465
508
  update!(**args)
466
509
  end
467
510
 
468
511
  # Update properties of this object
469
512
  def update!(**args)
513
+ @artifact_storage = args[:artifact_storage] if args.key?(:artifact_storage)
470
514
  @default_pool = args[:default_pool] if args.key?(:default_pool)
471
515
  @private_pool = args[:private_pool] if args.key?(:private_pool)
516
+ @service_account = args[:service_account] if args.key?(:service_account)
472
517
  @usages = args[:usages] if args.key?(:usages)
518
+ @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
473
519
  end
474
520
  end
475
521
 
@@ -537,6 +583,18 @@ module Google
537
583
  # @return [String]
538
584
  attr_accessor :cluster
539
585
 
586
+ # Optional. If true, `cluster` is accessed using the private IP address of the
587
+ # control plane endpoint. Otherwise, the default IP address of the control plane
588
+ # endpoint is used. The default IP address is the private IP address for
589
+ # clusters with private control-plane endpoints and the public IP address
590
+ # otherwise. Only specify this option when `cluster` is a [private GKE cluster](
591
+ # https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-
592
+ # concept).
593
+ # Corresponds to the JSON property `internalIp`
594
+ # @return [Boolean]
595
+ attr_accessor :internal_ip
596
+ alias_method :internal_ip?, :internal_ip
597
+
540
598
  def initialize(**args)
541
599
  update!(**args)
542
600
  end
@@ -544,6 +602,7 @@ module Google
544
602
  # Update properties of this object
545
603
  def update!(**args)
546
604
  @cluster = args[:cluster] if args.key?(:cluster)
605
+ @internal_ip = args[:internal_ip] if args.key?(:internal_ip)
547
606
  end
548
607
  end
549
608
 
@@ -1182,8 +1241,7 @@ module Google
1182
1241
  # @return [Hash<String,Google::Apis::ClouddeployV1::TargetRender>]
1183
1242
  attr_accessor :target_renders
1184
1243
 
1185
- # Output only. Snapshot of the parent pipeline's targets taken at release
1186
- # creation time.
1244
+ # Output only. Snapshot of the targets taken at release creation time.
1187
1245
  # Corresponds to the JSON property `targetSnapshots`
1188
1246
  # @return [Array<Google::Apis::ClouddeployV1::Target>]
1189
1247
  attr_accessor :target_snapshots
@@ -1431,11 +1489,11 @@ module Google
1431
1489
  # Represents a whole or partial calendar date, such as a birthday. The time of
1432
1490
  # day and time zone are either specified elsewhere or are insignificant. The
1433
1491
  # date is relative to the Gregorian Calendar. This can represent one of the
1434
- # following: * A full date, with non-zero year, month, and day values * A month
1435
- # and day value, with a zero year, such as an anniversary * A year on its own,
1436
- # with zero month and day values * A year and month value, with a zero day, such
1437
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
1438
- # google.protobuf.Timestamp`.
1492
+ # following: * A full date, with non-zero year, month, and day values. * A month
1493
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1494
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1495
+ # example, a credit card expiration date). Related types: * google.type.
1496
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1439
1497
  # Corresponds to the JSON property `supportEndDate`
1440
1498
  # @return [Google::Apis::ClouddeployV1::Date]
1441
1499
  attr_accessor :support_end_date
@@ -1467,9 +1525,9 @@ module Google
1467
1525
 
1468
1526
  # The target_id to which this stage points. This field refers exclusively to the
1469
1527
  # last segment of a target name. For example, this field would just be `my-
1470
- # target` (rather than `projects/project/deliveryPipelines/pipeline/targets/my-
1471
- # target`). The parent `DeliveryPipeline` of the `Target` is inferred to be the
1472
- # parent `DeliveryPipeline` of the `Release` in which this `Stage` lives.
1528
+ # target` (rather than `projects/project/locations/location/targets/my-target`).
1529
+ # The location of the `Target` is inferred to be the same as the location of the
1530
+ # `DeliveryPipeline` that contains this `Stage`.
1473
1531
  # Corresponds to the JSON property `targetId`
1474
1532
  # @return [String]
1475
1533
  attr_accessor :target_id
@@ -1536,6 +1594,11 @@ module Google
1536
1594
  # @return [Hash<String,String>]
1537
1595
  attr_accessor :annotations
1538
1596
 
1597
+ # Information specifying an Anthos Cluster.
1598
+ # Corresponds to the JSON property `anthosCluster`
1599
+ # @return [Google::Apis::ClouddeployV1::AnthosCluster]
1600
+ attr_accessor :anthos_cluster
1601
+
1539
1602
  # Output only. Time at which the `Target` was created.
1540
1603
  # Corresponds to the JSON property `createTime`
1541
1604
  # @return [String]
@@ -1580,7 +1643,7 @@ module Google
1580
1643
  attr_accessor :labels
1581
1644
 
1582
1645
  # Optional. Name of the `Target`. Format is projects/`project`/locations/`
1583
- # location`/ deliveryPipelines/`deliveryPipeline`/targets/a-z`0,62`.
1646
+ # location`/targets/a-z`0,62`.
1584
1647
  # Corresponds to the JSON property `name`
1585
1648
  # @return [String]
1586
1649
  attr_accessor :name
@@ -1613,6 +1676,7 @@ module Google
1613
1676
  # Update properties of this object
1614
1677
  def update!(**args)
1615
1678
  @annotations = args[:annotations] if args.key?(:annotations)
1679
+ @anthos_cluster = args[:anthos_cluster] if args.key?(:anthos_cluster)
1616
1680
  @create_time = args[:create_time] if args.key?(:create_time)
1617
1681
  @description = args[:description] if args.key?(:description)
1618
1682
  @etag = args[:etag] if args.key?(:etag)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ClouddeployV1
18
18
  # Version of the google-apis-clouddeploy_v1 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211212"
25
+ REVISION = "20220302"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module ClouddeployV1
24
24
 
25
+ class AnthosCluster
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class ApproveRolloutRequest
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -268,6 +274,13 @@ module Google
268
274
  include Google::Apis::Core::JsonObjectSupport
269
275
  end
270
276
 
277
+ class AnthosCluster
278
+ # @private
279
+ class Representation < Google::Apis::Core::JsonRepresentation
280
+ property :membership, as: 'membership'
281
+ end
282
+ end
283
+
271
284
  class ApproveRolloutRequest
272
285
  # @private
273
286
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -376,11 +389,14 @@ module Google
376
389
  class ExecutionConfig
377
390
  # @private
378
391
  class Representation < Google::Apis::Core::JsonRepresentation
392
+ property :artifact_storage, as: 'artifactStorage'
379
393
  property :default_pool, as: 'defaultPool', class: Google::Apis::ClouddeployV1::DefaultPool, decorator: Google::Apis::ClouddeployV1::DefaultPool::Representation
380
394
 
381
395
  property :private_pool, as: 'privatePool', class: Google::Apis::ClouddeployV1::PrivatePool, decorator: Google::Apis::ClouddeployV1::PrivatePool::Representation
382
396
 
397
+ property :service_account, as: 'serviceAccount'
383
398
  collection :usages, as: 'usages'
399
+ property :worker_pool, as: 'workerPool'
384
400
  end
385
401
  end
386
402
 
@@ -398,6 +414,7 @@ module Google
398
414
  # @private
399
415
  class Representation < Google::Apis::Core::JsonRepresentation
400
416
  property :cluster, as: 'cluster'
417
+ property :internal_ip, as: 'internalIp'
401
418
  end
402
419
  end
403
420
 
@@ -633,6 +650,8 @@ module Google
633
650
  # @private
634
651
  class Representation < Google::Apis::Core::JsonRepresentation
635
652
  hash :annotations, as: 'annotations'
653
+ property :anthos_cluster, as: 'anthosCluster', class: Google::Apis::ClouddeployV1::AnthosCluster, decorator: Google::Apis::ClouddeployV1::AnthosCluster::Representation
654
+
636
655
  property :create_time, as: 'createTime'
637
656
  property :description, as: 'description'
638
657
  property :etag, as: 'etag'
@@ -1216,7 +1216,7 @@ module Google
1216
1216
  # Updates the parameters of a single Target.
1217
1217
  # @param [String] name
1218
1218
  # Optional. Name of the `Target`. Format is projects/`project`/locations/`
1219
- # location`/ deliveryPipelines/`deliveryPipeline`/targets/a-z`0,62`.
1219
+ # location`/targets/a-z`0,62`.
1220
1220
  # @param [Google::Apis::ClouddeployV1::Target] target_object
1221
1221
  # @param [Boolean] allow_missing
1222
1222
  # Optional. If set to true, updating a `Target` that does not exist will result
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-clouddeploy_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouddeploy_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.2.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.5.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouddeploy_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.4
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Cloud Deploy API V1