google-apis-iam_v1 0.44.0 → 0.45.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: 52be15c572ef844cc240d223a8408e4fde31474e523bd1c2388bb0f93e09d746
4
- data.tar.gz: 5b5768b5533fe2f0438b53c7088d0d5b6f932c9216637110e56e38286210ccde
3
+ metadata.gz: 386bacfab2ceb34d560e6454cea28be38393f5db4b8d8da9e89ea6a66e9e8cbd
4
+ data.tar.gz: 255e022845438eefb4234343364e5c0e16b6b640eb5b190b78742df1563755c2
5
5
  SHA512:
6
- metadata.gz: 51f435c5889e6ce0590d55282836a80e3c7533d4ef6ce38e197929aa4f108661075eb0511803cddf69694d526783e7968fb6051e244e32cf3a7e3bba2e2ed8f9
7
- data.tar.gz: 1524cf6d816969ccb4094e456a11f3bf15fe142fb957cbe719996ae53db79f0d477082711a00100dad425b7092bca664278a6dfbfde4be968c2de1ccec081d45
6
+ metadata.gz: 7aefdf4f4fda49bcdb3074384b9ab07695a1a60dce8fbd00d3cca87acfdcc2a2426c4d629b2261036fef340a7818dabdf5025c31316da948d9e8570be1f7fe35
7
+ data.tar.gz: 6d66aa7d4c65fdf5f2a89420b0d2570c23351f5583ad69bdb9a15066e077c02357d48f0cc5cb87175422a70a3a4249ae1793c6be68bd5e7184e90ee57e8779fe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-iam_v1
2
2
 
3
+ ### v0.45.0 (2023-07-02)
4
+
5
+ * Regenerated from discovery document revision 20230622
6
+
3
7
  ### v0.44.0 (2023-05-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20230518
@@ -571,6 +571,11 @@ module Google
571
571
  # @return [String]
572
572
  attr_accessor :client_id
573
573
 
574
+ # Representation of a client secret configured for the OIDC provider.
575
+ # Corresponds to the JSON property `clientSecret`
576
+ # @return [Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret]
577
+ attr_accessor :client_secret
578
+
574
579
  # Required. The OIDC issuer URI. Must be a valid URI using the 'https' scheme.
575
580
  # Corresponds to the JSON property `issuerUri`
576
581
  # @return [String]
@@ -588,15 +593,70 @@ module Google
588
593
  # Update properties of this object
589
594
  def update!(**args)
590
595
  @client_id = args[:client_id] if args.key?(:client_id)
596
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
591
597
  @issuer_uri = args[:issuer_uri] if args.key?(:issuer_uri)
592
598
  @web_sso_config = args[:web_sso_config] if args.key?(:web_sso_config)
593
599
  end
594
600
  end
595
601
 
602
+ # Representation of a client secret configured for the OIDC provider.
603
+ class GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret
604
+ include Google::Apis::Core::Hashable
605
+
606
+ # Representation of the value of the client secret.
607
+ # Corresponds to the JSON property `value`
608
+ # @return [Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidcClientSecretValue]
609
+ attr_accessor :value
610
+
611
+ def initialize(**args)
612
+ update!(**args)
613
+ end
614
+
615
+ # Update properties of this object
616
+ def update!(**args)
617
+ @value = args[:value] if args.key?(:value)
618
+ end
619
+ end
620
+
621
+ # Representation of the value of the client secret.
622
+ class GoogleIamAdminV1WorkforcePoolProviderOidcClientSecretValue
623
+ include Google::Apis::Core::Hashable
624
+
625
+ # Input only. The plain text of the client secret value. For security reasons,
626
+ # this field is only used for input and will never be populated in any response.
627
+ # Corresponds to the JSON property `plainText`
628
+ # @return [String]
629
+ attr_accessor :plain_text
630
+
631
+ # Output only. A thumbprint to represent the current client secret value.
632
+ # Corresponds to the JSON property `thumbprint`
633
+ # @return [String]
634
+ attr_accessor :thumbprint
635
+
636
+ def initialize(**args)
637
+ update!(**args)
638
+ end
639
+
640
+ # Update properties of this object
641
+ def update!(**args)
642
+ @plain_text = args[:plain_text] if args.key?(:plain_text)
643
+ @thumbprint = args[:thumbprint] if args.key?(:thumbprint)
644
+ end
645
+ end
646
+
596
647
  # Configuration for web single sign-on for the OIDC provider.
597
648
  class GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig
598
649
  include Google::Apis::Core::Hashable
599
650
 
651
+ # Additional scopes to request for in the OIDC authentication request on top of
652
+ # scopes requested by default. By default, the `openid`, `profile` and `email`
653
+ # scopes that are supported by the identity provider are requested. Each
654
+ # additional scope may be at most 256 characters. A maximum of 10 additional
655
+ # scopes may be configured.
656
+ # Corresponds to the JSON property `additionalScopes`
657
+ # @return [Array<String>]
658
+ attr_accessor :additional_scopes
659
+
600
660
  # Required. The behavior for how OIDC Claims are included in the `assertion`
601
661
  # object used for attribute mapping and attribute condition.
602
662
  # Corresponds to the JSON property `assertionClaimsBehavior`
@@ -615,6 +675,7 @@ module Google
615
675
 
616
676
  # Update properties of this object
617
677
  def update!(**args)
678
+ @additional_scopes = args[:additional_scopes] if args.key?(:additional_scopes)
618
679
  @assertion_claims_behavior = args[:assertion_claims_behavior] if args.key?(:assertion_claims_behavior)
619
680
  @response_type = args[:response_type] if args.key?(:response_type)
620
681
  end
@@ -1588,11 +1649,12 @@ module Google
1588
1649
  # @return [Array<String>]
1589
1650
  attr_accessor :included_permissions
1590
1651
 
1591
- # The name of the role. When Role is used in CreateRole, the role name must not
1592
- # be set. When Role is used in output and other input such as UpdateRole, the
1593
- # role name is the complete path, e.g., roles/logging.viewer for predefined
1594
- # roles and organizations/`ORGANIZATION_ID`/roles/logging.viewer for custom
1595
- # roles.
1652
+ # The name of the role. When `Role` is used in `CreateRole`, the role name must
1653
+ # not be set. When `Role` is used in output and other input such as `UpdateRole`,
1654
+ # the role name is the complete path. For example, `roles/logging.viewer` for
1655
+ # predefined roles, `organizations/`ORGANIZATION_ID`/roles/my-role` for
1656
+ # organization-level custom roles, and `projects/`PROJECT_ID`/roles/my-role` for
1657
+ # project-level custom roles.
1596
1658
  # Corresponds to the JSON property `name`
1597
1659
  # @return [String]
1598
1660
  attr_accessor :name
@@ -2510,6 +2572,11 @@ module Google
2510
2572
  # @return [String]
2511
2573
  attr_accessor :display_name
2512
2574
 
2575
+ # Immutable. The identity mode of the pool.
2576
+ # Corresponds to the JSON property `identityMode`
2577
+ # @return [String]
2578
+ attr_accessor :identity_mode
2579
+
2513
2580
  # Output only. The resource name of the pool.
2514
2581
  # Corresponds to the JSON property `name`
2515
2582
  # @return [String]
@@ -2529,6 +2596,7 @@ module Google
2529
2596
  @description = args[:description] if args.key?(:description)
2530
2597
  @disabled = args[:disabled] if args.key?(:disabled)
2531
2598
  @display_name = args[:display_name] if args.key?(:display_name)
2599
+ @identity_mode = args[:identity_mode] if args.key?(:identity_mode)
2532
2600
  @name = args[:name] if args.key?(:name)
2533
2601
  @state = args[:state] if args.key?(:state)
2534
2602
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module IamV1
18
18
  # Version of the google-apis-iam_v1 gem
19
- GEM_VERSION = "0.44.0"
19
+ GEM_VERSION = "0.45.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230518"
25
+ REVISION = "20230622"
26
26
  end
27
27
  end
28
28
  end
@@ -142,6 +142,18 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleIamAdminV1WorkforcePoolProviderOidcClientSecretValue
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
145
157
  class GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig
146
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
159
 
@@ -643,15 +655,34 @@ module Google
643
655
  # @private
644
656
  class Representation < Google::Apis::Core::JsonRepresentation
645
657
  property :client_id, as: 'clientId'
658
+ property :client_secret, as: 'clientSecret', class: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret, decorator: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret::Representation
659
+
646
660
  property :issuer_uri, as: 'issuerUri'
647
661
  property :web_sso_config, as: 'webSsoConfig', class: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig, decorator: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig::Representation
648
662
 
649
663
  end
650
664
  end
651
665
 
666
+ class GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret
667
+ # @private
668
+ class Representation < Google::Apis::Core::JsonRepresentation
669
+ property :value, as: 'value', class: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidcClientSecretValue, decorator: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidcClientSecretValue::Representation
670
+
671
+ end
672
+ end
673
+
674
+ class GoogleIamAdminV1WorkforcePoolProviderOidcClientSecretValue
675
+ # @private
676
+ class Representation < Google::Apis::Core::JsonRepresentation
677
+ property :plain_text, as: 'plainText'
678
+ property :thumbprint, as: 'thumbprint'
679
+ end
680
+ end
681
+
652
682
  class GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig
653
683
  # @private
654
684
  class Representation < Google::Apis::Core::JsonRepresentation
685
+ collection :additional_scopes, as: 'additionalScopes'
655
686
  property :assertion_claims_behavior, as: 'assertionClaimsBehavior'
656
687
  property :response_type, as: 'responseType'
657
688
  end
@@ -1139,6 +1170,7 @@ module Google
1139
1170
  property :description, as: 'description'
1140
1171
  property :disabled, as: 'disabled'
1141
1172
  property :display_name, as: 'displayName'
1173
+ property :identity_mode, as: 'identityMode'
1142
1174
  property :name, as: 'name'
1143
1175
  property :state, as: 'state'
1144
1176
  end
@@ -1623,6 +1623,130 @@ module Google
1623
1623
  execute_or_queue_command(command, &block)
1624
1624
  end
1625
1625
 
1626
+ # Gets the latest state of a long-running operation. Clients can use this method
1627
+ # to poll the operation result at intervals as recommended by the API service.
1628
+ # @param [String] name
1629
+ # The name of the operation resource.
1630
+ # @param [String] fields
1631
+ # Selector specifying which fields to include in a partial response.
1632
+ # @param [String] quota_user
1633
+ # Available to use for quota purposes for server-side applications. Can be any
1634
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1635
+ # @param [Google::Apis::RequestOptions] options
1636
+ # Request-specific options
1637
+ #
1638
+ # @yield [result, err] Result & error if block supplied
1639
+ # @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
1640
+ # @yieldparam err [StandardError] error object if request failed
1641
+ #
1642
+ # @return [Google::Apis::IamV1::Operation]
1643
+ #
1644
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1645
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1646
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1647
+ def get_project_location_workload_identity_pool_namespace_managed_identity_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1648
+ command = make_simple_command(:get, 'v1/{+name}', options)
1649
+ command.response_representation = Google::Apis::IamV1::Operation::Representation
1650
+ command.response_class = Google::Apis::IamV1::Operation
1651
+ command.params['name'] = name unless name.nil?
1652
+ command.query['fields'] = fields unless fields.nil?
1653
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1654
+ execute_or_queue_command(command, &block)
1655
+ end
1656
+
1657
+ # Gets the latest state of a long-running operation. Clients can use this method
1658
+ # to poll the operation result at intervals as recommended by the API service.
1659
+ # @param [String] name
1660
+ # The name of the operation resource.
1661
+ # @param [String] fields
1662
+ # Selector specifying which fields to include in a partial response.
1663
+ # @param [String] quota_user
1664
+ # Available to use for quota purposes for server-side applications. Can be any
1665
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1666
+ # @param [Google::Apis::RequestOptions] options
1667
+ # Request-specific options
1668
+ #
1669
+ # @yield [result, err] Result & error if block supplied
1670
+ # @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
1671
+ # @yieldparam err [StandardError] error object if request failed
1672
+ #
1673
+ # @return [Google::Apis::IamV1::Operation]
1674
+ #
1675
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1676
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1677
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1678
+ def get_project_location_workload_identity_pool_namespace_managed_identity_workload_source_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1679
+ command = make_simple_command(:get, 'v1/{+name}', options)
1680
+ command.response_representation = Google::Apis::IamV1::Operation::Representation
1681
+ command.response_class = Google::Apis::IamV1::Operation
1682
+ command.params['name'] = name unless name.nil?
1683
+ command.query['fields'] = fields unless fields.nil?
1684
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1685
+ execute_or_queue_command(command, &block)
1686
+ end
1687
+
1688
+ # Gets the latest state of a long-running operation. Clients can use this method
1689
+ # to poll the operation result at intervals as recommended by the API service.
1690
+ # @param [String] name
1691
+ # The name of the operation resource.
1692
+ # @param [String] fields
1693
+ # Selector specifying which fields to include in a partial response.
1694
+ # @param [String] quota_user
1695
+ # Available to use for quota purposes for server-side applications. Can be any
1696
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1697
+ # @param [Google::Apis::RequestOptions] options
1698
+ # Request-specific options
1699
+ #
1700
+ # @yield [result, err] Result & error if block supplied
1701
+ # @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
1702
+ # @yieldparam err [StandardError] error object if request failed
1703
+ #
1704
+ # @return [Google::Apis::IamV1::Operation]
1705
+ #
1706
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1707
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1708
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1709
+ def get_project_location_workload_identity_pool_namespace_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1710
+ command = make_simple_command(:get, 'v1/{+name}', options)
1711
+ command.response_representation = Google::Apis::IamV1::Operation::Representation
1712
+ command.response_class = Google::Apis::IamV1::Operation
1713
+ command.params['name'] = name unless name.nil?
1714
+ command.query['fields'] = fields unless fields.nil?
1715
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1716
+ execute_or_queue_command(command, &block)
1717
+ end
1718
+
1719
+ # Gets the latest state of a long-running operation. Clients can use this method
1720
+ # to poll the operation result at intervals as recommended by the API service.
1721
+ # @param [String] name
1722
+ # The name of the operation resource.
1723
+ # @param [String] fields
1724
+ # Selector specifying which fields to include in a partial response.
1725
+ # @param [String] quota_user
1726
+ # Available to use for quota purposes for server-side applications. Can be any
1727
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1728
+ # @param [Google::Apis::RequestOptions] options
1729
+ # Request-specific options
1730
+ #
1731
+ # @yield [result, err] Result & error if block supplied
1732
+ # @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
1733
+ # @yieldparam err [StandardError] error object if request failed
1734
+ #
1735
+ # @return [Google::Apis::IamV1::Operation]
1736
+ #
1737
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1738
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1739
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1740
+ def get_project_location_workload_identity_pool_namespace_workload_source_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1741
+ command = make_simple_command(:get, 'v1/{+name}', options)
1742
+ command.response_representation = Google::Apis::IamV1::Operation::Representation
1743
+ command.response_class = Google::Apis::IamV1::Operation
1744
+ command.params['name'] = name unless name.nil?
1745
+ command.query['fields'] = fields unless fields.nil?
1746
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1747
+ execute_or_queue_command(command, &block)
1748
+ end
1749
+
1626
1750
  # Gets the latest state of a long-running operation. Clients can use this method
1627
1751
  # to poll the operation result at intervals as recommended by the API service.
1628
1752
  # @param [String] name
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-iam_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.0
4
+ version: 0.45.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: 2023-06-04 00:00:00.000000000 Z
11
+ date: 2023-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -59,7 +59,7 @@ licenses:
59
59
  metadata:
60
60
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
61
61
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v1/CHANGELOG.md
62
- documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.44.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.45.0
63
63
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v1
64
64
  post_install_message:
65
65
  rdoc_options: []