google-apis-gkehub_v1alpha2 0.17.0 → 0.20.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: bb99ecfc7fbe476bc608f22bf0bdb902fdb7e4452a346833acaf7620e51e6834
4
- data.tar.gz: 6f35bfb33159d959035d91d9ecbd58a29693327291097fa491d6b6f39024ba4b
3
+ metadata.gz: c8724d5c1f08ef0dd4efe51ab2915e4011fa9fb58fa59e3c708d8a9f6c97238c
4
+ data.tar.gz: 995bf563d149d1b2822b7eff20d6305f548040d9c2753826406cd8b0372a392d
5
5
  SHA512:
6
- metadata.gz: b4698a2c8e2f3d2be8e404a192afab29f5127777d415f914f177a7d4406e821f9b5def951532d0299aba4b3170a3d022293a0e494e820b2f9c3e2afd03625afd
7
- data.tar.gz: 5cbe5fabceaaa5c6e81b1f9b9b821d8e1a6fd6ae749a6863228a72bd3f75f13ca18e73d11ae31b0df08d053de354b07726980687fa9d19a28f1bc44eee196b95
6
+ metadata.gz: 7090bdef99385441cc7d6116881a40235fc58a23961a8abc03d8eafa151b3e5bb76b0940f248b1120340f95ba05f7c4c3c1df25d3c081d6be8cdf170322a8fd9
7
+ data.tar.gz: 627a94fffb61fe645185bd4a764dcd14ae22affa87b1d3ca1e599cdc212c8b186495bc913e8e9a9b55eb426d5431e607e5917e5252b85d303526589ccb5a7e5e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-gkehub_v1alpha2
2
2
 
3
+ ### v0.20.0 (2022-06-05)
4
+
5
+ * Regenerated from discovery document revision 20220530
6
+ * Regenerated using generator version 0.5.0
7
+
8
+ ### v0.19.0 (2022-05-16)
9
+
10
+ * Regenerated from discovery document revision 20220505
11
+
12
+ ### v0.18.0 (2022-05-08)
13
+
14
+ * Regenerated from discovery document revision 20220429
15
+
3
16
  ### v0.17.0 (2022-04-16)
4
17
 
5
18
  * Regenerated from discovery document revision 20220408
@@ -22,6 +22,27 @@ module Google
22
22
  module Apis
23
23
  module GkehubV1alpha2
24
24
 
25
+ # ApplianceCluster contains information specific to GDC Edge Appliance Clusters.
26
+ class ApplianceCluster
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Immutable. Self-link of the GCP resource for the Appliance Cluster. For
30
+ # example: //transferappliance.googleapis.com/projects/my-project/locations/us-
31
+ # west1-a/appliances/my-appliance
32
+ # Corresponds to the JSON property `resourceLink`
33
+ # @return [String]
34
+ attr_accessor :resource_link
35
+
36
+ def initialize(**args)
37
+ update!(**args)
38
+ end
39
+
40
+ # Update properties of this object
41
+ def update!(**args)
42
+ @resource_link = args[:resource_link] if args.key?(:resource_link)
43
+ end
44
+ end
45
+
25
46
  # Specifies the audit configuration for a service. The configuration determines
26
47
  # which permission types are logged, and what identities, if any, are exempted
27
48
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -35,8 +56,8 @@ module Google
35
56
  # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
36
57
  # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
37
58
  # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
38
- # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
39
- # DATA_WRITE logging.
59
+ # exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
60
+ # from DATA_WRITE logging.
40
61
  class AuditConfig
41
62
  include Google::Apis::Core::Hashable
42
63
 
@@ -836,6 +857,11 @@ module Google
836
857
  class MembershipEndpoint
837
858
  include Google::Apis::Core::Hashable
838
859
 
860
+ # ApplianceCluster contains information specific to GDC Edge Appliance Clusters.
861
+ # Corresponds to the JSON property `applianceCluster`
862
+ # @return [Google::Apis::GkehubV1alpha2::ApplianceCluster]
863
+ attr_accessor :appliance_cluster
864
+
839
865
  # EdgeCluster contains information specific to Google Edge Clusters.
840
866
  # Corresponds to the JSON property `edgeCluster`
841
867
  # @return [Google::Apis::GkehubV1alpha2::EdgeCluster]
@@ -876,6 +902,7 @@ module Google
876
902
 
877
903
  # Update properties of this object
878
904
  def update!(**args)
905
+ @appliance_cluster = args[:appliance_cluster] if args.key?(:appliance_cluster)
879
906
  @edge_cluster = args[:edge_cluster] if args.key?(:edge_cluster)
880
907
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
881
908
  @kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1alpha2
18
18
  # Version of the google-apis-gkehub_v1alpha2 gem
19
- GEM_VERSION = "0.17.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220408"
25
+ REVISION = "20220530"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module GkehubV1alpha2
24
24
 
25
+ class ApplianceCluster
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AuditConfig
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -226,6 +232,13 @@ module Google
226
232
  include Google::Apis::Core::JsonObjectSupport
227
233
  end
228
234
 
235
+ class ApplianceCluster
236
+ # @private
237
+ class Representation < Google::Apis::Core::JsonRepresentation
238
+ property :resource_link, as: 'resourceLink'
239
+ end
240
+ end
241
+
229
242
  class AuditConfig
230
243
  # @private
231
244
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -429,6 +442,8 @@ module Google
429
442
  class MembershipEndpoint
430
443
  # @private
431
444
  class Representation < Google::Apis::Core::JsonRepresentation
445
+ property :appliance_cluster, as: 'applianceCluster', class: Google::Apis::GkehubV1alpha2::ApplianceCluster, decorator: Google::Apis::GkehubV1alpha2::ApplianceCluster::Representation
446
+
432
447
  property :edge_cluster, as: 'edgeCluster', class: Google::Apis::GkehubV1alpha2::EdgeCluster, decorator: Google::Apis::GkehubV1alpha2::EdgeCluster::Representation
433
448
 
434
449
  property :gke_cluster, as: 'gkeCluster', class: Google::Apis::GkehubV1alpha2::GkeCluster, decorator: Google::Apis::GkehubV1alpha2::GkeCluster::Representation
@@ -334,8 +334,9 @@ module Google
334
334
  # Gets the access control policy for a resource. Returns an empty policy if the
335
335
  # resource exists and does not have a policy set.
336
336
  # @param [String] resource
337
- # REQUIRED: The resource for which the policy is being requested. See the
338
- # operation documentation for the appropriate value for this field.
337
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
338
+ # names](https://cloud.google.com/apis/design/resource_names) for the
339
+ # appropriate value for this field.
339
340
  # @param [Fixnum] options_requested_policy_version
340
341
  # Optional. The maximum policy version that will be used to format the policy.
341
342
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -468,8 +469,9 @@ module Google
468
469
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
469
470
  # PERMISSION_DENIED` errors.
470
471
  # @param [String] resource
471
- # REQUIRED: The resource for which the policy is being specified. See the
472
- # operation documentation for the appropriate value for this field.
472
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
473
+ # names](https://cloud.google.com/apis/design/resource_names) for the
474
+ # appropriate value for this field.
473
475
  # @param [Google::Apis::GkehubV1alpha2::SetIamPolicyRequest] set_iam_policy_request_object
474
476
  # @param [String] fields
475
477
  # Selector specifying which fields to include in a partial response.
@@ -506,8 +508,9 @@ module Google
506
508
  # permission-aware UIs and command-line tools, not for authorization checking.
507
509
  # This operation may "fail open" without warning.
508
510
  # @param [String] resource
509
- # REQUIRED: The resource for which the policy detail is being requested. See the
510
- # operation documentation for the appropriate value for this field.
511
+ # REQUIRED: The resource for which the policy detail is being requested. See [
512
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
513
+ # appropriate value for this field.
511
514
  # @param [Google::Apis::GkehubV1alpha2::TestIamPermissionsRequest] test_iam_permissions_request_object
512
515
  # @param [String] fields
513
516
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1alpha2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.20.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-04-18 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-gkehub_v1alpha2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha2/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha2/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha2
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.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for GKE Hub API V1alpha2