google-apis-gkehub_v1alpha 0.8.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b784abaede8d51b91e4aa0537fa31fbd9a33ec61cf12a196887a5bc0c1eb21a2
4
- data.tar.gz: 8ad0f464dd9003b8f606fd159a2a9f88806cd5cdefa3c98d90ef422a528b2ae7
3
+ metadata.gz: d8f1c7b78c35eaadfb1539f48159c42cfe4d896af96583cf7d78b7cbf0de1fc9
4
+ data.tar.gz: 3cdfb96418cc4eedb22c985488f4cb0aedddfe7020824a2a046091da413e25c2
5
5
  SHA512:
6
- metadata.gz: 2863b423b38c9420d88e66621091e15ca34baab35fd51b371ef77cf38aeb7cb22f271290acda10fc8c1fc0195c0258d991823872f9d74ff4195e748b7bc8b6c0
7
- data.tar.gz: cc7346164f4ce544d21dc322329cdd5292662483b28214723c7771181bf8cb601a648838ed3133486421426d1f99d338250005381a9f00bdfe457cbb8574bb9f
6
+ metadata.gz: f99f2771dc664952d91e4e332c3291085c3eee5e1896626655fc8c3e11718d8d6fa9059addc3e407f5058e7a5a2552496c9ef02289d4632a10a3bf01e35bb21e
7
+ data.tar.gz: e35877636d786bae3cf32d86a73b99c074b75721fe0d8a2eb7116ca8c9cf58392408d2c5e46d35fa3871bb083fb57be05206662b9aca196fdfc149f49cce80f5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.12.0 (2021-10-04)
4
+
5
+ * Regenerated from discovery document revision 20210927
6
+
7
+ ### v0.11.0 (2021-09-26)
8
+
9
+ * Regenerated from discovery document revision 20210920
10
+
11
+ ### v0.10.0 (2021-08-21)
12
+
13
+ * Regenerated from discovery document revision 20210813
14
+
15
+ ### v0.9.0 (2021-08-04)
16
+
17
+ * Regenerated from discovery document revision 20210729
18
+
3
19
  ### v0.8.0 (2021-07-14)
4
20
 
5
21
  * Regenerated from discovery document revision 20210709
data/OVERVIEW.md CHANGED
@@ -1,6 +1,6 @@
1
- # Simple REST client for version V1alpha of the GKE Hub
1
+ # Simple REST client for version V1alpha of the GKE Hub API
2
2
 
3
- This is a simple client library for version V1alpha of the GKE Hub. It provides:
3
+ This is a simple client library for version V1alpha of the GKE Hub API. It provides:
4
4
 
5
5
  * A client object that connects to the HTTP/JSON REST endpoint for the service.
6
6
  * Ruby objects for data structures related to the service.
@@ -65,7 +65,7 @@ More detailed descriptions of the Google simple REST clients are available in tw
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Gkehub service in particular.)
67
67
 
68
- For reference information on specific calls in the GKE Hub, see the {Google::Apis::GkehubV1alpha::GKEHubService class reference docs}.
68
+ For reference information on specific calls in the GKE Hub API, see the {Google::Apis::GkehubV1alpha::GKEHubService class reference docs}.
69
69
 
70
70
  ## Which client should I use?
71
71
 
@@ -93,6 +93,60 @@ module Google
93
93
  end
94
94
  end
95
95
 
96
+ # Authority encodes how Google will recognize identities from this Membership.
97
+ # See the workload identity documentation for more details: https://cloud.google.
98
+ # com/kubernetes-engine/docs/how-to/workload-identity
99
+ class Authority
100
+ include Google::Apis::Core::Hashable
101
+
102
+ # Output only. An identity provider that reflects the `issuer` in the workload
103
+ # identity pool.
104
+ # Corresponds to the JSON property `identityProvider`
105
+ # @return [String]
106
+ attr_accessor :identity_provider
107
+
108
+ # Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://
109
+ # ` and be a valid URL with length <2000 characters. If set, then Google will
110
+ # allow valid OIDC tokens from this issuer to authenticate within the
111
+ # workload_identity_pool. OIDC discovery will be performed on this URI to
112
+ # validate tokens from the issuer. Clearing `issuer` disables Workload Identity.
113
+ # `issuer` cannot be directly modified; it must be cleared (and Workload
114
+ # Identity disabled) before using a new issuer (and re-enabling Workload
115
+ # Identity).
116
+ # Corresponds to the JSON property `issuer`
117
+ # @return [String]
118
+ attr_accessor :issuer
119
+
120
+ # Optional. OIDC verification keys for this Membership in JWKS format (RFC 7517).
121
+ # When this field is set, OIDC discovery will NOT be performed on `issuer`, and
122
+ # instead OIDC tokens will be validated using this field.
123
+ # Corresponds to the JSON property `oidcJwks`
124
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
125
+ # @return [String]
126
+ attr_accessor :oidc_jwks
127
+
128
+ # Output only. The name of the workload identity pool in which `issuer` will be
129
+ # recognized. There is a single Workload Identity Pool per Hub that is shared
130
+ # between all Memberships that belong to that Hub. For a Hub hosted in `
131
+ # PROJECT_ID`, the workload pool format is ``PROJECT_ID`.hub.id.goog`, although
132
+ # this is subject to change in newer versions of this API.
133
+ # Corresponds to the JSON property `workloadIdentityPool`
134
+ # @return [String]
135
+ attr_accessor :workload_identity_pool
136
+
137
+ def initialize(**args)
138
+ update!(**args)
139
+ end
140
+
141
+ # Update properties of this object
142
+ def update!(**args)
143
+ @identity_provider = args[:identity_provider] if args.key?(:identity_provider)
144
+ @issuer = args[:issuer] if args.key?(:issuer)
145
+ @oidc_jwks = args[:oidc_jwks] if args.key?(:oidc_jwks)
146
+ @workload_identity_pool = args[:workload_identity_pool] if args.key?(:workload_identity_pool)
147
+ end
148
+ end
149
+
96
150
  # Associates `members` with a `role`.
97
151
  class Binding
98
152
  include Google::Apis::Core::Hashable
@@ -322,6 +376,16 @@ module Google
322
376
  class ConfigManagementConfigSync
323
377
  include Google::Apis::Core::Hashable
324
378
 
379
+ # Enables the installation of ConfigSync. If set to true, ConfigSync resources
380
+ # will be created and the other ConfigSync fields will be applied if exist. If
381
+ # set to false, all other ConfigSync fields will be ignored, ConfigSync
382
+ # resources will be deleted. If omitted, ConfigSync resources will be managed
383
+ # depends on the presence of git field.
384
+ # Corresponds to the JSON property `enabled`
385
+ # @return [Boolean]
386
+ attr_accessor :enabled
387
+ alias_method :enabled?, :enabled
388
+
325
389
  # Git repo configuration for a single cluster.
326
390
  # Corresponds to the JSON property `git`
327
391
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementGitConfig]
@@ -339,6 +403,7 @@ module Google
339
403
 
340
404
  # Update properties of this object
341
405
  def update!(**args)
406
+ @enabled = args[:enabled] if args.key?(:enabled)
342
407
  @git = args[:git] if args.key?(:git)
343
408
  @source_format = args[:source_format] if args.key?(:source_format)
344
409
  end
@@ -348,6 +413,11 @@ module Google
348
413
  class ConfigManagementConfigSyncDeploymentState
349
414
  include Google::Apis::Core::Hashable
350
415
 
416
+ # Deployment state of admission-webhook
417
+ # Corresponds to the JSON property `admissionWebhook`
418
+ # @return [String]
419
+ attr_accessor :admission_webhook
420
+
351
421
  # Deployment state of the git-sync pod
352
422
  # Corresponds to the JSON property `gitSync`
353
423
  # @return [String]
@@ -384,6 +454,7 @@ module Google
384
454
 
385
455
  # Update properties of this object
386
456
  def update!(**args)
457
+ @admission_webhook = args[:admission_webhook] if args.key?(:admission_webhook)
387
458
  @git_sync = args[:git_sync] if args.key?(:git_sync)
388
459
  @importer = args[:importer] if args.key?(:importer)
389
460
  @monitor = args[:monitor] if args.key?(:monitor)
@@ -428,6 +499,11 @@ module Google
428
499
  class ConfigManagementConfigSyncVersion
429
500
  include Google::Apis::Core::Hashable
430
501
 
502
+ # Version of the deployed admission_webhook pod
503
+ # Corresponds to the JSON property `admissionWebhook`
504
+ # @return [String]
505
+ attr_accessor :admission_webhook
506
+
431
507
  # Version of the deployed git-sync pod
432
508
  # Corresponds to the JSON property `gitSync`
433
509
  # @return [String]
@@ -464,6 +540,7 @@ module Google
464
540
 
465
541
  # Update properties of this object
466
542
  def update!(**args)
543
+ @admission_webhook = args[:admission_webhook] if args.key?(:admission_webhook)
467
544
  @git_sync = args[:git_sync] if args.key?(:git_sync)
468
545
  @importer = args[:importer] if args.key?(:importer)
469
546
  @monitor = args[:monitor] if args.key?(:monitor)
@@ -1312,6 +1389,35 @@ module Google
1312
1389
  end
1313
1390
  end
1314
1391
 
1392
+ # GkeCluster contains information specific to GKE clusters.
1393
+ class GkeCluster
1394
+ include Google::Apis::Core::Hashable
1395
+
1396
+ # Output only. If cluster_missing is set then it denotes that the GKE cluster no
1397
+ # longer exists in the GKE Control Plane.
1398
+ # Corresponds to the JSON property `clusterMissing`
1399
+ # @return [Boolean]
1400
+ attr_accessor :cluster_missing
1401
+ alias_method :cluster_missing?, :cluster_missing
1402
+
1403
+ # Immutable. Self-link of the GCP resource for the GKE cluster. For example: //
1404
+ # container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-
1405
+ # cluster Zonal clusters are also supported.
1406
+ # Corresponds to the JSON property `resourceLink`
1407
+ # @return [String]
1408
+ attr_accessor :resource_link
1409
+
1410
+ def initialize(**args)
1411
+ update!(**args)
1412
+ end
1413
+
1414
+ # Update properties of this object
1415
+ def update!(**args)
1416
+ @cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
1417
+ @resource_link = args[:resource_link] if args.key?(:resource_link)
1418
+ end
1419
+ end
1420
+
1315
1421
  # The `Status` type defines a logical error model that is suitable for different
1316
1422
  # programming environments, including REST APIs and RPC APIs. It is used by [
1317
1423
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -1351,6 +1457,267 @@ module Google
1351
1457
  end
1352
1458
  end
1353
1459
 
1460
+ # Configuration of an auth method for a member/cluster. Only one authentication
1461
+ # method (e.g., OIDC and LDAP) can be set per AuthMethod.
1462
+ class IdentityServiceAuthMethod
1463
+ include Google::Apis::Core::Hashable
1464
+
1465
+ # Identifier for auth config.
1466
+ # Corresponds to the JSON property `name`
1467
+ # @return [String]
1468
+ attr_accessor :name
1469
+
1470
+ # Configuration for OIDC Auth flow.
1471
+ # Corresponds to the JSON property `oidcConfig`
1472
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig]
1473
+ attr_accessor :oidc_config
1474
+
1475
+ # Proxy server address to use for auth method.
1476
+ # Corresponds to the JSON property `proxy`
1477
+ # @return [String]
1478
+ attr_accessor :proxy
1479
+
1480
+ def initialize(**args)
1481
+ update!(**args)
1482
+ end
1483
+
1484
+ # Update properties of this object
1485
+ def update!(**args)
1486
+ @name = args[:name] if args.key?(:name)
1487
+ @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
1488
+ @proxy = args[:proxy] if args.key?(:proxy)
1489
+ end
1490
+ end
1491
+
1492
+ # **Anthos Identity Service**: Configuration for a single Membership.
1493
+ class IdentityServiceMembershipSpec
1494
+ include Google::Apis::Core::Hashable
1495
+
1496
+ # A member may support multiple auth methods.
1497
+ # Corresponds to the JSON property `authMethods`
1498
+ # @return [Array<Google::Apis::GkehubV1alpha::IdentityServiceAuthMethod>]
1499
+ attr_accessor :auth_methods
1500
+
1501
+ def initialize(**args)
1502
+ update!(**args)
1503
+ end
1504
+
1505
+ # Update properties of this object
1506
+ def update!(**args)
1507
+ @auth_methods = args[:auth_methods] if args.key?(:auth_methods)
1508
+ end
1509
+ end
1510
+
1511
+ # **Anthos Identity Service**: State for a single Membership.
1512
+ class IdentityServiceMembershipState
1513
+ include Google::Apis::Core::Hashable
1514
+
1515
+ # The reason of the failure.
1516
+ # Corresponds to the JSON property `failureReason`
1517
+ # @return [String]
1518
+ attr_accessor :failure_reason
1519
+
1520
+ # Installed AIS version. This is the AIS version installed on this member. The
1521
+ # values makes sense iff state is OK.
1522
+ # Corresponds to the JSON property `installedVersion`
1523
+ # @return [String]
1524
+ attr_accessor :installed_version
1525
+
1526
+ # **Anthos Identity Service**: Configuration for a single Membership.
1527
+ # Corresponds to the JSON property `memberConfig`
1528
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec]
1529
+ attr_accessor :member_config
1530
+
1531
+ # Deployment state on this member
1532
+ # Corresponds to the JSON property `state`
1533
+ # @return [String]
1534
+ attr_accessor :state
1535
+
1536
+ def initialize(**args)
1537
+ update!(**args)
1538
+ end
1539
+
1540
+ # Update properties of this object
1541
+ def update!(**args)
1542
+ @failure_reason = args[:failure_reason] if args.key?(:failure_reason)
1543
+ @installed_version = args[:installed_version] if args.key?(:installed_version)
1544
+ @member_config = args[:member_config] if args.key?(:member_config)
1545
+ @state = args[:state] if args.key?(:state)
1546
+ end
1547
+ end
1548
+
1549
+ # Configuration for OIDC Auth flow.
1550
+ class IdentityServiceOidcConfig
1551
+ include Google::Apis::Core::Hashable
1552
+
1553
+ # PEM-encoded CA for OIDC provider.
1554
+ # Corresponds to the JSON property `certificateAuthorityData`
1555
+ # @return [String]
1556
+ attr_accessor :certificate_authority_data
1557
+
1558
+ # ID for OIDC client application.
1559
+ # Corresponds to the JSON property `clientId`
1560
+ # @return [String]
1561
+ attr_accessor :client_id
1562
+
1563
+ # Flag to denote if reverse proxy is used to connect to auth provider. This flag
1564
+ # should be set to true when provider is not reachable by Google Cloud Console.
1565
+ # Corresponds to the JSON property `deployCloudConsoleProxy`
1566
+ # @return [Boolean]
1567
+ attr_accessor :deploy_cloud_console_proxy
1568
+ alias_method :deploy_cloud_console_proxy?, :deploy_cloud_console_proxy
1569
+
1570
+ # Comma-separated list of key-value pairs.
1571
+ # Corresponds to the JSON property `extraParams`
1572
+ # @return [String]
1573
+ attr_accessor :extra_params
1574
+
1575
+ # Prefix to prepend to group name.
1576
+ # Corresponds to the JSON property `groupPrefix`
1577
+ # @return [String]
1578
+ attr_accessor :group_prefix
1579
+
1580
+ # Claim in OIDC ID token that holds group information.
1581
+ # Corresponds to the JSON property `groupsClaim`
1582
+ # @return [String]
1583
+ attr_accessor :groups_claim
1584
+
1585
+ # URI for the OIDC provider. This should point to the level below .well-known/
1586
+ # openid-configuration.
1587
+ # Corresponds to the JSON property `issuerUri`
1588
+ # @return [String]
1589
+ attr_accessor :issuer_uri
1590
+
1591
+ # Registered redirect uri to redirect users going through OAuth flow using
1592
+ # kubectl plugin.
1593
+ # Corresponds to the JSON property `kubectlRedirectUri`
1594
+ # @return [String]
1595
+ attr_accessor :kubectl_redirect_uri
1596
+
1597
+ # Comma-separated list of identifiers.
1598
+ # Corresponds to the JSON property `scopes`
1599
+ # @return [String]
1600
+ attr_accessor :scopes
1601
+
1602
+ # Claim in OIDC ID token that holds username.
1603
+ # Corresponds to the JSON property `userClaim`
1604
+ # @return [String]
1605
+ attr_accessor :user_claim
1606
+
1607
+ # Prefix to prepend to user name.
1608
+ # Corresponds to the JSON property `userPrefix`
1609
+ # @return [String]
1610
+ attr_accessor :user_prefix
1611
+
1612
+ def initialize(**args)
1613
+ update!(**args)
1614
+ end
1615
+
1616
+ # Update properties of this object
1617
+ def update!(**args)
1618
+ @certificate_authority_data = args[:certificate_authority_data] if args.key?(:certificate_authority_data)
1619
+ @client_id = args[:client_id] if args.key?(:client_id)
1620
+ @deploy_cloud_console_proxy = args[:deploy_cloud_console_proxy] if args.key?(:deploy_cloud_console_proxy)
1621
+ @extra_params = args[:extra_params] if args.key?(:extra_params)
1622
+ @group_prefix = args[:group_prefix] if args.key?(:group_prefix)
1623
+ @groups_claim = args[:groups_claim] if args.key?(:groups_claim)
1624
+ @issuer_uri = args[:issuer_uri] if args.key?(:issuer_uri)
1625
+ @kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
1626
+ @scopes = args[:scopes] if args.key?(:scopes)
1627
+ @user_claim = args[:user_claim] if args.key?(:user_claim)
1628
+ @user_prefix = args[:user_prefix] if args.key?(:user_prefix)
1629
+ end
1630
+ end
1631
+
1632
+ # KubernetesMetadata provides informational metadata for Memberships
1633
+ # representing Kubernetes clusters.
1634
+ class KubernetesMetadata
1635
+ include Google::Apis::Core::Hashable
1636
+
1637
+ # Output only. Kubernetes API server version string as reported by `/version`.
1638
+ # Corresponds to the JSON property `kubernetesApiServerVersion`
1639
+ # @return [String]
1640
+ attr_accessor :kubernetes_api_server_version
1641
+
1642
+ # Output only. The total memory capacity as reported by the sum of all
1643
+ # Kubernetes nodes resources, defined in MB.
1644
+ # Corresponds to the JSON property `memoryMb`
1645
+ # @return [Fixnum]
1646
+ attr_accessor :memory_mb
1647
+
1648
+ # Output only. Node count as reported by Kubernetes nodes resources.
1649
+ # Corresponds to the JSON property `nodeCount`
1650
+ # @return [Fixnum]
1651
+ attr_accessor :node_count
1652
+
1653
+ # Output only. Node providerID as reported by the first node in the list of
1654
+ # nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-
1655
+ # node clusters (like GKE-on-GCP), the node_count will be zero and the
1656
+ # node_provider_id will be empty.
1657
+ # Corresponds to the JSON property `nodeProviderId`
1658
+ # @return [String]
1659
+ attr_accessor :node_provider_id
1660
+
1661
+ # Output only. The time at which these details were last updated. This
1662
+ # update_time is different from the Membership-level update_time since
1663
+ # EndpointDetails are updated internally for API consumers.
1664
+ # Corresponds to the JSON property `updateTime`
1665
+ # @return [String]
1666
+ attr_accessor :update_time
1667
+
1668
+ # Output only. vCPU count as reported by Kubernetes nodes resources.
1669
+ # Corresponds to the JSON property `vcpuCount`
1670
+ # @return [Fixnum]
1671
+ attr_accessor :vcpu_count
1672
+
1673
+ def initialize(**args)
1674
+ update!(**args)
1675
+ end
1676
+
1677
+ # Update properties of this object
1678
+ def update!(**args)
1679
+ @kubernetes_api_server_version = args[:kubernetes_api_server_version] if args.key?(:kubernetes_api_server_version)
1680
+ @memory_mb = args[:memory_mb] if args.key?(:memory_mb)
1681
+ @node_count = args[:node_count] if args.key?(:node_count)
1682
+ @node_provider_id = args[:node_provider_id] if args.key?(:node_provider_id)
1683
+ @update_time = args[:update_time] if args.key?(:update_time)
1684
+ @vcpu_count = args[:vcpu_count] if args.key?(:vcpu_count)
1685
+ end
1686
+ end
1687
+
1688
+ # Response message for the `GkeHub.ListAdminClusterMemberships` method.
1689
+ class ListAdminClusterMembershipsResponse
1690
+ include Google::Apis::Core::Hashable
1691
+
1692
+ # The list of matching Memberships of admin clusters.
1693
+ # Corresponds to the JSON property `adminClusterMemberships`
1694
+ # @return [Array<Google::Apis::GkehubV1alpha::Membership>]
1695
+ attr_accessor :admin_cluster_memberships
1696
+
1697
+ # A token to request the next page of resources from the `
1698
+ # ListAdminClusterMemberships` method. The value of an empty string means that
1699
+ # there are no more resources to return.
1700
+ # Corresponds to the JSON property `nextPageToken`
1701
+ # @return [String]
1702
+ attr_accessor :next_page_token
1703
+
1704
+ # List of locations that could not be reached while fetching this list.
1705
+ # Corresponds to the JSON property `unreachable`
1706
+ # @return [Array<String>]
1707
+ attr_accessor :unreachable
1708
+
1709
+ def initialize(**args)
1710
+ update!(**args)
1711
+ end
1712
+
1713
+ # Update properties of this object
1714
+ def update!(**args)
1715
+ @admin_cluster_memberships = args[:admin_cluster_memberships] if args.key?(:admin_cluster_memberships)
1716
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1717
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1718
+ end
1719
+ end
1720
+
1354
1721
  # Response message for the `GkeHub.ListFeatures` method.
1355
1722
  class ListFeaturesResponse
1356
1723
  include Google::Apis::Core::Hashable
@@ -1474,6 +1841,148 @@ module Google
1474
1841
  end
1475
1842
  end
1476
1843
 
1844
+ # Membership contains information about a member cluster.
1845
+ class Membership
1846
+ include Google::Apis::Core::Hashable
1847
+
1848
+ # Authority encodes how Google will recognize identities from this Membership.
1849
+ # See the workload identity documentation for more details: https://cloud.google.
1850
+ # com/kubernetes-engine/docs/how-to/workload-identity
1851
+ # Corresponds to the JSON property `authority`
1852
+ # @return [Google::Apis::GkehubV1alpha::Authority]
1853
+ attr_accessor :authority
1854
+
1855
+ # Output only. When the Membership was created.
1856
+ # Corresponds to the JSON property `createTime`
1857
+ # @return [String]
1858
+ attr_accessor :create_time
1859
+
1860
+ # Output only. When the Membership was deleted.
1861
+ # Corresponds to the JSON property `deleteTime`
1862
+ # @return [String]
1863
+ attr_accessor :delete_time
1864
+
1865
+ # Output only. Description of this membership, limited to 63 characters. Must
1866
+ # match the regex: `a-zA-Z0-9*` This field is present for legacy purposes.
1867
+ # Corresponds to the JSON property `description`
1868
+ # @return [String]
1869
+ attr_accessor :description
1870
+
1871
+ # MembershipEndpoint contains information needed to contact a Kubernetes API,
1872
+ # endpoint and any additional Kubernetes metadata.
1873
+ # Corresponds to the JSON property `endpoint`
1874
+ # @return [Google::Apis::GkehubV1alpha::MembershipEndpoint]
1875
+ attr_accessor :endpoint
1876
+
1877
+ # Optional. An externally-generated and managed ID for this Membership. This ID
1878
+ # may be modified after creation, but this is not recommended. The ID must match
1879
+ # the regex: `a-zA-Z0-9*` If this Membership represents a Kubernetes cluster,
1880
+ # this value should be set to the UID of the `kube-system` namespace object.
1881
+ # Corresponds to the JSON property `externalId`
1882
+ # @return [String]
1883
+ attr_accessor :external_id
1884
+
1885
+ # Optional. GCP labels for this membership.
1886
+ # Corresponds to the JSON property `labels`
1887
+ # @return [Hash<String,String>]
1888
+ attr_accessor :labels
1889
+
1890
+ # Output only. For clusters using Connect, the timestamp of the most recent
1891
+ # connection established with Google Cloud. This time is updated every several
1892
+ # minutes, not continuously. For clusters that do not use GKE Connect, or that
1893
+ # have never connected successfully, this field will be unset.
1894
+ # Corresponds to the JSON property `lastConnectionTime`
1895
+ # @return [String]
1896
+ attr_accessor :last_connection_time
1897
+
1898
+ # Output only. The full, unique name of this Membership resource in the format `
1899
+ # projects/*/locations/*/memberships/`membership_id``, set during creation. `
1900
+ # membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63
1901
+ # characters in length 2. It must consist of lower case alphanumeric characters
1902
+ # or `-` 3. It must start and end with an alphanumeric character Which can be
1903
+ # expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length
1904
+ # of 63 characters.
1905
+ # Corresponds to the JSON property `name`
1906
+ # @return [String]
1907
+ attr_accessor :name
1908
+
1909
+ # MembershipState describes the state of a Membership resource.
1910
+ # Corresponds to the JSON property `state`
1911
+ # @return [Google::Apis::GkehubV1alpha::MembershipState]
1912
+ attr_accessor :state
1913
+
1914
+ # Output only. Google-generated UUID for this resource. This is unique across
1915
+ # all Membership resources. If a Membership resource is deleted and another
1916
+ # resource with the same name is created, it gets a different unique_id.
1917
+ # Corresponds to the JSON property `uniqueId`
1918
+ # @return [String]
1919
+ attr_accessor :unique_id
1920
+
1921
+ # Output only. When the Membership was last updated.
1922
+ # Corresponds to the JSON property `updateTime`
1923
+ # @return [String]
1924
+ attr_accessor :update_time
1925
+
1926
+ def initialize(**args)
1927
+ update!(**args)
1928
+ end
1929
+
1930
+ # Update properties of this object
1931
+ def update!(**args)
1932
+ @authority = args[:authority] if args.key?(:authority)
1933
+ @create_time = args[:create_time] if args.key?(:create_time)
1934
+ @delete_time = args[:delete_time] if args.key?(:delete_time)
1935
+ @description = args[:description] if args.key?(:description)
1936
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
1937
+ @external_id = args[:external_id] if args.key?(:external_id)
1938
+ @labels = args[:labels] if args.key?(:labels)
1939
+ @last_connection_time = args[:last_connection_time] if args.key?(:last_connection_time)
1940
+ @name = args[:name] if args.key?(:name)
1941
+ @state = args[:state] if args.key?(:state)
1942
+ @unique_id = args[:unique_id] if args.key?(:unique_id)
1943
+ @update_time = args[:update_time] if args.key?(:update_time)
1944
+ end
1945
+ end
1946
+
1947
+ # MembershipEndpoint contains information needed to contact a Kubernetes API,
1948
+ # endpoint and any additional Kubernetes metadata.
1949
+ class MembershipEndpoint
1950
+ include Google::Apis::Core::Hashable
1951
+
1952
+ # GkeCluster contains information specific to GKE clusters.
1953
+ # Corresponds to the JSON property `gkeCluster`
1954
+ # @return [Google::Apis::GkehubV1alpha::GkeCluster]
1955
+ attr_accessor :gke_cluster
1956
+
1957
+ # KubernetesMetadata provides informational metadata for Memberships
1958
+ # representing Kubernetes clusters.
1959
+ # Corresponds to the JSON property `kubernetesMetadata`
1960
+ # @return [Google::Apis::GkehubV1alpha::KubernetesMetadata]
1961
+ attr_accessor :kubernetes_metadata
1962
+
1963
+ # MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
1964
+ # Corresponds to the JSON property `multiCloudCluster`
1965
+ # @return [Google::Apis::GkehubV1alpha::MultiCloudCluster]
1966
+ attr_accessor :multi_cloud_cluster
1967
+
1968
+ # OnPremCluster contains information specific to GKE On-Prem clusters.
1969
+ # Corresponds to the JSON property `onPremCluster`
1970
+ # @return [Google::Apis::GkehubV1alpha::OnPremCluster]
1971
+ attr_accessor :on_prem_cluster
1972
+
1973
+ def initialize(**args)
1974
+ update!(**args)
1975
+ end
1976
+
1977
+ # Update properties of this object
1978
+ def update!(**args)
1979
+ @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
1980
+ @kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
1981
+ @multi_cloud_cluster = args[:multi_cloud_cluster] if args.key?(:multi_cloud_cluster)
1982
+ @on_prem_cluster = args[:on_prem_cluster] if args.key?(:on_prem_cluster)
1983
+ end
1984
+ end
1985
+
1477
1986
  # MembershipFeatureSpec contains configuration information for a single
1478
1987
  # Membership.
1479
1988
  class MembershipFeatureSpec
@@ -1485,6 +1994,11 @@ module Google
1485
1994
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec]
1486
1995
  attr_accessor :configmanagement
1487
1996
 
1997
+ # **Anthos Identity Service**: Configuration for a single Membership.
1998
+ # Corresponds to the JSON property `identityservice`
1999
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec]
2000
+ attr_accessor :identityservice
2001
+
1488
2002
  def initialize(**args)
1489
2003
  update!(**args)
1490
2004
  end
@@ -1492,6 +2006,7 @@ module Google
1492
2006
  # Update properties of this object
1493
2007
  def update!(**args)
1494
2008
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
2009
+ @identityservice = args[:identityservice] if args.key?(:identityservice)
1495
2010
  end
1496
2011
  end
1497
2012
 
@@ -1505,6 +2020,11 @@ module Google
1505
2020
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementMembershipState]
1506
2021
  attr_accessor :configmanagement
1507
2022
 
2023
+ # **Anthos Identity Service**: State for a single Membership.
2024
+ # Corresponds to the JSON property `identityservice`
2025
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceMembershipState]
2026
+ attr_accessor :identityservice
2027
+
1508
2028
  # **Metering**: Per-Membership Feature State.
1509
2029
  # Corresponds to the JSON property `metering`
1510
2030
  # @return [Google::Apis::GkehubV1alpha::MeteringMembershipState]
@@ -1530,12 +2050,32 @@ module Google
1530
2050
  # Update properties of this object
1531
2051
  def update!(**args)
1532
2052
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
2053
+ @identityservice = args[:identityservice] if args.key?(:identityservice)
1533
2054
  @metering = args[:metering] if args.key?(:metering)
1534
2055
  @servicemesh = args[:servicemesh] if args.key?(:servicemesh)
1535
2056
  @state = args[:state] if args.key?(:state)
1536
2057
  end
1537
2058
  end
1538
2059
 
2060
+ # MembershipState describes the state of a Membership resource.
2061
+ class MembershipState
2062
+ include Google::Apis::Core::Hashable
2063
+
2064
+ # Output only. The current state of the Membership resource.
2065
+ # Corresponds to the JSON property `code`
2066
+ # @return [String]
2067
+ attr_accessor :code
2068
+
2069
+ def initialize(**args)
2070
+ update!(**args)
2071
+ end
2072
+
2073
+ # Update properties of this object
2074
+ def update!(**args)
2075
+ @code = args[:code] if args.key?(:code)
2076
+ end
2077
+ end
2078
+
1539
2079
  # **Metering**: Per-Membership Feature State.
1540
2080
  class MeteringMembershipState
1541
2081
  include Google::Apis::Core::Hashable
@@ -1563,6 +2103,36 @@ module Google
1563
2103
  end
1564
2104
  end
1565
2105
 
2106
+ # MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
2107
+ class MultiCloudCluster
2108
+ include Google::Apis::Core::Hashable
2109
+
2110
+ # Output only. If cluster_missing is set then it denotes that API(gkemulticloud.
2111
+ # googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.
2112
+ # Corresponds to the JSON property `clusterMissing`
2113
+ # @return [Boolean]
2114
+ attr_accessor :cluster_missing
2115
+ alias_method :cluster_missing?, :cluster_missing
2116
+
2117
+ # Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For
2118
+ # example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-
2119
+ # a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/
2120
+ # locations/us-west1-a/azureClusters/my-cluster
2121
+ # Corresponds to the JSON property `resourceLink`
2122
+ # @return [String]
2123
+ attr_accessor :resource_link
2124
+
2125
+ def initialize(**args)
2126
+ update!(**args)
2127
+ end
2128
+
2129
+ # Update properties of this object
2130
+ def update!(**args)
2131
+ @cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
2132
+ @resource_link = args[:resource_link] if args.key?(:resource_link)
2133
+ end
2134
+ end
2135
+
1566
2136
  # **Multi-cluster Ingress**: The configuration for the MultiClusterIngress
1567
2137
  # feature.
1568
2138
  class MultiClusterIngressFeatureSpec
@@ -1591,6 +2161,43 @@ module Google
1591
2161
  end
1592
2162
  end
1593
2163
 
2164
+ # OnPremCluster contains information specific to GKE On-Prem clusters.
2165
+ class OnPremCluster
2166
+ include Google::Apis::Core::Hashable
2167
+
2168
+ # Immutable. Whether the cluster is an admin cluster.
2169
+ # Corresponds to the JSON property `adminCluster`
2170
+ # @return [Boolean]
2171
+ attr_accessor :admin_cluster
2172
+ alias_method :admin_cluster?, :admin_cluster
2173
+
2174
+ # Output only. If cluster_missing is set then it denotes that API(gkeonprem.
2175
+ # googleapis.com) resource for this GKE On-Prem cluster no longer exists.
2176
+ # Corresponds to the JSON property `clusterMissing`
2177
+ # @return [Boolean]
2178
+ attr_accessor :cluster_missing
2179
+ alias_method :cluster_missing?, :cluster_missing
2180
+
2181
+ # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
2182
+ # example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/
2183
+ # vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/
2184
+ # locations/us-west1-a/bareMetalClusters/my-cluster
2185
+ # Corresponds to the JSON property `resourceLink`
2186
+ # @return [String]
2187
+ attr_accessor :resource_link
2188
+
2189
+ def initialize(**args)
2190
+ update!(**args)
2191
+ end
2192
+
2193
+ # Update properties of this object
2194
+ def update!(**args)
2195
+ @admin_cluster = args[:admin_cluster] if args.key?(:admin_cluster)
2196
+ @cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
2197
+ @resource_link = args[:resource_link] if args.key?(:resource_link)
2198
+ end
2199
+ end
2200
+
1594
2201
  # This resource represents a long-running operation that is the result of a
1595
2202
  # network API call.
1596
2203
  class Operation
@@ -1736,7 +2343,7 @@ module Google
1736
2343
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1737
2344
  # roles/resourcemanager.organizationViewer condition: title: expirable access
1738
2345
  # description: Does not grant access after Sep 2020 expression: request.time <
1739
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
2346
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1740
2347
  # description of IAM and its features, see the [IAM documentation](https://cloud.
1741
2348
  # google.com/iam/docs/).
1742
2349
  class Policy
@@ -1985,7 +2592,7 @@ module Google
1985
2592
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1986
2593
  # roles/resourcemanager.organizationViewer condition: title: expirable access
1987
2594
  # description: Does not grant access after Sep 2020 expression: request.time <
1988
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
2595
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1989
2596
  # description of IAM and its features, see the [IAM documentation](https://cloud.
1990
2597
  # google.com/iam/docs/).
1991
2598
  # Corresponds to the JSON property `policy`
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1alpha
18
18
  # Version of the google-apis-gkehub_v1alpha gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210709"
25
+ REVISION = "20210927"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class Authority
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class Binding
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -238,12 +244,54 @@ module Google
238
244
  include Google::Apis::Core::JsonObjectSupport
239
245
  end
240
246
 
247
+ class GkeCluster
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
241
253
  class GoogleRpcStatus
242
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
255
 
244
256
  include Google::Apis::Core::JsonObjectSupport
245
257
  end
246
258
 
259
+ class IdentityServiceAuthMethod
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class IdentityServiceMembershipSpec
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class IdentityServiceMembershipState
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class IdentityServiceOidcConfig
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class KubernetesMetadata
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class ListAdminClusterMembershipsResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
247
295
  class ListFeaturesResponse
248
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
297
 
@@ -268,6 +316,18 @@ module Google
268
316
  include Google::Apis::Core::JsonObjectSupport
269
317
  end
270
318
 
319
+ class Membership
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class MembershipEndpoint
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
271
331
  class MembershipFeatureSpec
272
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
333
 
@@ -280,18 +340,36 @@ module Google
280
340
  include Google::Apis::Core::JsonObjectSupport
281
341
  end
282
342
 
343
+ class MembershipState
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
283
349
  class MeteringMembershipState
284
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
351
 
286
352
  include Google::Apis::Core::JsonObjectSupport
287
353
  end
288
354
 
355
+ class MultiCloudCluster
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
289
361
  class MultiClusterIngressFeatureSpec
290
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
363
 
292
364
  include Google::Apis::Core::JsonObjectSupport
293
365
  end
294
366
 
367
+ class OnPremCluster
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
295
373
  class Operation
296
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
375
 
@@ -375,6 +453,16 @@ module Google
375
453
  end
376
454
  end
377
455
 
456
+ class Authority
457
+ # @private
458
+ class Representation < Google::Apis::Core::JsonRepresentation
459
+ property :identity_provider, as: 'identityProvider'
460
+ property :issuer, as: 'issuer'
461
+ property :oidc_jwks, :base64 => true, as: 'oidcJwks'
462
+ property :workload_identity_pool, as: 'workloadIdentityPool'
463
+ end
464
+ end
465
+
378
466
  class Binding
379
467
  # @private
380
468
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -444,6 +532,7 @@ module Google
444
532
  class ConfigManagementConfigSync
445
533
  # @private
446
534
  class Representation < Google::Apis::Core::JsonRepresentation
535
+ property :enabled, as: 'enabled'
447
536
  property :git, as: 'git', class: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig::Representation
448
537
 
449
538
  property :source_format, as: 'sourceFormat'
@@ -453,6 +542,7 @@ module Google
453
542
  class ConfigManagementConfigSyncDeploymentState
454
543
  # @private
455
544
  class Representation < Google::Apis::Core::JsonRepresentation
545
+ property :admission_webhook, as: 'admissionWebhook'
456
546
  property :git_sync, as: 'gitSync'
457
547
  property :importer, as: 'importer'
458
548
  property :monitor, as: 'monitor'
@@ -477,6 +567,7 @@ module Google
477
567
  class ConfigManagementConfigSyncVersion
478
568
  # @private
479
569
  class Representation < Google::Apis::Core::JsonRepresentation
570
+ property :admission_webhook, as: 'admissionWebhook'
480
571
  property :git_sync, as: 'gitSync'
481
572
  property :importer, as: 'importer'
482
573
  property :monitor, as: 'monitor'
@@ -722,6 +813,14 @@ module Google
722
813
  end
723
814
  end
724
815
 
816
+ class GkeCluster
817
+ # @private
818
+ class Representation < Google::Apis::Core::JsonRepresentation
819
+ property :cluster_missing, as: 'clusterMissing'
820
+ property :resource_link, as: 'resourceLink'
821
+ end
822
+ end
823
+
725
824
  class GoogleRpcStatus
726
825
  # @private
727
826
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -731,6 +830,74 @@ module Google
731
830
  end
732
831
  end
733
832
 
833
+ class IdentityServiceAuthMethod
834
+ # @private
835
+ class Representation < Google::Apis::Core::JsonRepresentation
836
+ property :name, as: 'name'
837
+ property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig::Representation
838
+
839
+ property :proxy, as: 'proxy'
840
+ end
841
+ end
842
+
843
+ class IdentityServiceMembershipSpec
844
+ # @private
845
+ class Representation < Google::Apis::Core::JsonRepresentation
846
+ collection :auth_methods, as: 'authMethods', class: Google::Apis::GkehubV1alpha::IdentityServiceAuthMethod, decorator: Google::Apis::GkehubV1alpha::IdentityServiceAuthMethod::Representation
847
+
848
+ end
849
+ end
850
+
851
+ class IdentityServiceMembershipState
852
+ # @private
853
+ class Representation < Google::Apis::Core::JsonRepresentation
854
+ property :failure_reason, as: 'failureReason'
855
+ property :installed_version, as: 'installedVersion'
856
+ property :member_config, as: 'memberConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec::Representation
857
+
858
+ property :state, as: 'state'
859
+ end
860
+ end
861
+
862
+ class IdentityServiceOidcConfig
863
+ # @private
864
+ class Representation < Google::Apis::Core::JsonRepresentation
865
+ property :certificate_authority_data, as: 'certificateAuthorityData'
866
+ property :client_id, as: 'clientId'
867
+ property :deploy_cloud_console_proxy, as: 'deployCloudConsoleProxy'
868
+ property :extra_params, as: 'extraParams'
869
+ property :group_prefix, as: 'groupPrefix'
870
+ property :groups_claim, as: 'groupsClaim'
871
+ property :issuer_uri, as: 'issuerUri'
872
+ property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
873
+ property :scopes, as: 'scopes'
874
+ property :user_claim, as: 'userClaim'
875
+ property :user_prefix, as: 'userPrefix'
876
+ end
877
+ end
878
+
879
+ class KubernetesMetadata
880
+ # @private
881
+ class Representation < Google::Apis::Core::JsonRepresentation
882
+ property :kubernetes_api_server_version, as: 'kubernetesApiServerVersion'
883
+ property :memory_mb, as: 'memoryMb'
884
+ property :node_count, as: 'nodeCount'
885
+ property :node_provider_id, as: 'nodeProviderId'
886
+ property :update_time, as: 'updateTime'
887
+ property :vcpu_count, as: 'vcpuCount'
888
+ end
889
+ end
890
+
891
+ class ListAdminClusterMembershipsResponse
892
+ # @private
893
+ class Representation < Google::Apis::Core::JsonRepresentation
894
+ collection :admin_cluster_memberships, as: 'adminClusterMemberships', class: Google::Apis::GkehubV1alpha::Membership, decorator: Google::Apis::GkehubV1alpha::Membership::Representation
895
+
896
+ property :next_page_token, as: 'nextPageToken'
897
+ collection :unreachable, as: 'unreachable'
898
+ end
899
+ end
900
+
734
901
  class ListFeaturesResponse
735
902
  # @private
736
903
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -769,11 +936,48 @@ module Google
769
936
  end
770
937
  end
771
938
 
939
+ class Membership
940
+ # @private
941
+ class Representation < Google::Apis::Core::JsonRepresentation
942
+ property :authority, as: 'authority', class: Google::Apis::GkehubV1alpha::Authority, decorator: Google::Apis::GkehubV1alpha::Authority::Representation
943
+
944
+ property :create_time, as: 'createTime'
945
+ property :delete_time, as: 'deleteTime'
946
+ property :description, as: 'description'
947
+ property :endpoint, as: 'endpoint', class: Google::Apis::GkehubV1alpha::MembershipEndpoint, decorator: Google::Apis::GkehubV1alpha::MembershipEndpoint::Representation
948
+
949
+ property :external_id, as: 'externalId'
950
+ hash :labels, as: 'labels'
951
+ property :last_connection_time, as: 'lastConnectionTime'
952
+ property :name, as: 'name'
953
+ property :state, as: 'state', class: Google::Apis::GkehubV1alpha::MembershipState, decorator: Google::Apis::GkehubV1alpha::MembershipState::Representation
954
+
955
+ property :unique_id, as: 'uniqueId'
956
+ property :update_time, as: 'updateTime'
957
+ end
958
+ end
959
+
960
+ class MembershipEndpoint
961
+ # @private
962
+ class Representation < Google::Apis::Core::JsonRepresentation
963
+ property :gke_cluster, as: 'gkeCluster', class: Google::Apis::GkehubV1alpha::GkeCluster, decorator: Google::Apis::GkehubV1alpha::GkeCluster::Representation
964
+
965
+ property :kubernetes_metadata, as: 'kubernetesMetadata', class: Google::Apis::GkehubV1alpha::KubernetesMetadata, decorator: Google::Apis::GkehubV1alpha::KubernetesMetadata::Representation
966
+
967
+ property :multi_cloud_cluster, as: 'multiCloudCluster', class: Google::Apis::GkehubV1alpha::MultiCloudCluster, decorator: Google::Apis::GkehubV1alpha::MultiCloudCluster::Representation
968
+
969
+ property :on_prem_cluster, as: 'onPremCluster', class: Google::Apis::GkehubV1alpha::OnPremCluster, decorator: Google::Apis::GkehubV1alpha::OnPremCluster::Representation
970
+
971
+ end
972
+ end
973
+
772
974
  class MembershipFeatureSpec
773
975
  # @private
774
976
  class Representation < Google::Apis::Core::JsonRepresentation
775
977
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec::Representation
776
978
 
979
+ property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec::Representation
980
+
777
981
  end
778
982
  end
779
983
 
@@ -782,6 +986,8 @@ module Google
782
986
  class Representation < Google::Apis::Core::JsonRepresentation
783
987
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipState, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipState::Representation
784
988
 
989
+ property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipState, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipState::Representation
990
+
785
991
  property :metering, as: 'metering', class: Google::Apis::GkehubV1alpha::MeteringMembershipState, decorator: Google::Apis::GkehubV1alpha::MeteringMembershipState::Representation
786
992
 
787
993
  property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState::Representation
@@ -791,6 +997,13 @@ module Google
791
997
  end
792
998
  end
793
999
 
1000
+ class MembershipState
1001
+ # @private
1002
+ class Representation < Google::Apis::Core::JsonRepresentation
1003
+ property :code, as: 'code'
1004
+ end
1005
+ end
1006
+
794
1007
  class MeteringMembershipState
795
1008
  # @private
796
1009
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -799,6 +1012,14 @@ module Google
799
1012
  end
800
1013
  end
801
1014
 
1015
+ class MultiCloudCluster
1016
+ # @private
1017
+ class Representation < Google::Apis::Core::JsonRepresentation
1018
+ property :cluster_missing, as: 'clusterMissing'
1019
+ property :resource_link, as: 'resourceLink'
1020
+ end
1021
+ end
1022
+
802
1023
  class MultiClusterIngressFeatureSpec
803
1024
  # @private
804
1025
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -807,6 +1028,15 @@ module Google
807
1028
  end
808
1029
  end
809
1030
 
1031
+ class OnPremCluster
1032
+ # @private
1033
+ class Representation < Google::Apis::Core::JsonRepresentation
1034
+ property :admin_cluster, as: 'adminCluster'
1035
+ property :cluster_missing, as: 'clusterMissing'
1036
+ property :resource_link, as: 'resourceLink'
1037
+ end
1038
+ end
1039
+
810
1040
  class Operation
811
1041
  # @private
812
1042
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module GkehubV1alpha
23
- # GKE Hub
23
+ # GKE Hub API
24
24
  #
25
25
  #
26
26
  #
@@ -503,6 +503,55 @@ module Google
503
503
  execute_or_queue_command(command, &block)
504
504
  end
505
505
 
506
+ # Lists Memberships of admin clusters in a given project and location. **This
507
+ # method is only used internally**.
508
+ # @param [String] parent
509
+ # Required. The parent (project and location) where the Memberships of admin
510
+ # cluster will be listed. Specified in the format `projects/*/locations/*`.
511
+ # @param [String] filter
512
+ # Optional. Lists Memberships of admin clusters that match the filter expression.
513
+ # @param [String] order_by
514
+ # Optional. One or more fields to compare and use to sort the output. See https:/
515
+ # /google.aip.dev/132#ordering.
516
+ # @param [Fixnum] page_size
517
+ # Optional. When requesting a 'page' of resources, `page_size` specifies number
518
+ # of resources to return. If unspecified or set to 0, all resources will be
519
+ # returned.
520
+ # @param [String] page_token
521
+ # Optional. Token returned by previous call to `ListAdminClusterMemberships`
522
+ # which specifies the position in the list from where to continue listing the
523
+ # resources.
524
+ # @param [String] fields
525
+ # Selector specifying which fields to include in a partial response.
526
+ # @param [String] quota_user
527
+ # Available to use for quota purposes for server-side applications. Can be any
528
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
529
+ # @param [Google::Apis::RequestOptions] options
530
+ # Request-specific options
531
+ #
532
+ # @yield [result, err] Result & error if block supplied
533
+ # @yieldparam result [Google::Apis::GkehubV1alpha::ListAdminClusterMembershipsResponse] parsed result object
534
+ # @yieldparam err [StandardError] error object if request failed
535
+ #
536
+ # @return [Google::Apis::GkehubV1alpha::ListAdminClusterMembershipsResponse]
537
+ #
538
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
539
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
540
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
541
+ def list_project_location_membership_admin(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
542
+ command = make_simple_command(:get, 'v1alpha/{+parent}/memberships:listAdmin', options)
543
+ command.response_representation = Google::Apis::GkehubV1alpha::ListAdminClusterMembershipsResponse::Representation
544
+ command.response_class = Google::Apis::GkehubV1alpha::ListAdminClusterMembershipsResponse
545
+ command.params['parent'] = parent unless parent.nil?
546
+ command.query['filter'] = filter unless filter.nil?
547
+ command.query['orderBy'] = order_by unless order_by.nil?
548
+ command.query['pageSize'] = page_size unless page_size.nil?
549
+ command.query['pageToken'] = page_token unless page_token.nil?
550
+ command.query['fields'] = fields unless fields.nil?
551
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
552
+ execute_or_queue_command(command, &block)
553
+ end
554
+
506
555
  # Sets the access control policy on the specified resource. Replaces any
507
556
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
508
557
  # PERMISSION_DENIED` errors.
@@ -19,17 +19,17 @@ require 'google/apis/gkehub_v1alpha/gem_version.rb'
19
19
 
20
20
  module Google
21
21
  module Apis
22
- # GKE Hub
22
+ # GKE Hub API
23
23
  #
24
24
  #
25
25
  #
26
26
  # @see https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster
27
27
  module GkehubV1alpha
28
- # Version of the GKE Hub this client connects to.
28
+ # Version of the GKE Hub API this client connects to.
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1alpha'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.12.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: 2021-07-19 00:00:00.000000000 Z
11
+ date: 2021-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -30,12 +30,12 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
33
- description: This is the simple REST client for GKE Hub V1alpha. Simple REST clients
33
+ description: This is the simple REST client for GKE Hub API V1alpha. Simple REST clients
34
34
  are Ruby client libraries that provide access to Google services via their HTTP
35
35
  REST API endpoints. These libraries are generated and updated automatically based
36
36
  on the discovery documents published by the service, and they handle most concerns
37
37
  such as authentication, pagination, retry, timeouts, and logging. You can use this
38
- client to access the GKE Hub, but note that some services may provide a separate
38
+ client to access the GKE Hub API, but note that some services may provide a separate
39
39
  modern client that is easier to use.
40
40
  email: googleapis-packages@google.com
41
41
  executables: []
@@ -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/master/generated/google-apis-gkehub_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.12.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -78,5 +78,5 @@ requirements: []
78
78
  rubygems_version: 3.2.17
79
79
  signing_key:
80
80
  specification_version: 4
81
- summary: Simple REST client for GKE Hub V1alpha
81
+ summary: Simple REST client for GKE Hub API V1alpha
82
82
  test_files: []