google-apis-identitytoolkit_v2 0.1.0 → 0.2.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: dcdf45978b96ffd73b8f81090e2afec0be71685d3e30214591d63a8acebf21cd
4
- data.tar.gz: 13baaf9ef5b42347d578c32bd5ff5939cf689033babd1e30e83dc37849a20467
3
+ metadata.gz: f40c7f21cfe9353477db954b6777c65e7e77de02221c6e3f30f1b95819ce2a66
4
+ data.tar.gz: a532818110191b053e6aafd12653b8dcd6cb46a7cd456598551e7996688c8bfd
5
5
  SHA512:
6
- metadata.gz: 9d4814e1891bb671a6cf0952465abef0f58320881635b6f058a2a76dd900f61a5ef9c69a3235351e743ddb677efcee02f3aca5690e57f7b61dd2bbc8973fde11
7
- data.tar.gz: 7573b59c97e1371b61fb08680de86904372acbc6e7605da5b679c9697fcd1a3766cf96dc5381c03af783b5951e70830a13f8feb5a4433daed33c6eb96ba8829d
6
+ metadata.gz: c7a478174b251373632e998caf7a31e06143a22e762d4aa88358025012fbf2bbf0b7ee5cd0698cae5417230d34fa6173bf4c6704d5872989921eb2d7e1dd7601
7
+ data.tar.gz: f57243b04dde86c51476280e54011585c8a25a51550d323c666f9d88553add5734144abda4b7485b0518732b0a3b74c694290400f8741f5a3427087c6aca991b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-identitytoolkit_v2
2
2
 
3
+ ### v0.2.0 (2022-08-31)
4
+
5
+ * Regenerated from discovery document revision 20220826
6
+
3
7
  ### v0.1.0 (2022-08-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20220815
@@ -714,6 +714,32 @@ module Google
714
714
  end
715
715
  end
716
716
 
717
+ # Request for InitializeIdentityPlatform.
718
+ class GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest
719
+ include Google::Apis::Core::Hashable
720
+
721
+ def initialize(**args)
722
+ update!(**args)
723
+ end
724
+
725
+ # Update properties of this object
726
+ def update!(**args)
727
+ end
728
+ end
729
+
730
+ # Response for InitializeIdentityPlatform. Empty for now.
731
+ class GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse
732
+ include Google::Apis::Core::Hashable
733
+
734
+ def initialize(**args)
735
+ update!(**args)
736
+ end
737
+
738
+ # Update properties of this object
739
+ def update!(**args)
740
+ end
741
+ end
742
+
717
743
  # Response for DefaultSupportedIdpConfigs
718
744
  class GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse
719
745
  include Google::Apis::Core::Hashable
@@ -2142,31 +2168,33 @@ module Google
2142
2168
  # members` can have the following values: * `allUsers`: A special identifier
2143
2169
  # that represents anyone who is on the internet; with or without a Google
2144
2170
  # account. * `allAuthenticatedUsers`: A special identifier that represents
2145
- # anyone who is authenticated with a Google account or a service account. * `
2146
- # user:`emailid``: An email address that represents a specific Google account.
2147
- # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
2148
- # address that represents a Google service account. For example, `my-other-app@
2149
- # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
2150
- # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
2151
- # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
2152
- # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
2153
- # . * `group:`emailid``: An email address that represents a Google group. For
2154
- # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
2155
- # email address (plus unique identifier) representing a user that has been
2156
- # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
2157
- # If the user is recovered, this value reverts to `user:`emailid`` and the
2158
- # recovered user retains the role in the binding. * `deleted:serviceAccount:`
2159
- # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
2160
- # representing a service account that has been recently deleted. For example, `
2161
- # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
2162
- # service account is undeleted, this value reverts to `serviceAccount:`emailid``
2163
- # and the undeleted service account retains the role in the binding. * `deleted:
2164
- # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
2165
- # representing a Google group that has been recently deleted. For example, `
2166
- # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
2167
- # value reverts to `group:`emailid`` and the recovered group retains the role in
2168
- # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
2169
- # all the users of that domain. For example, `google.com` or `example.com`.
2171
+ # anyone who is authenticated with a Google account or a service account. Does
2172
+ # not include identities that come from external identity providers (IdPs)
2173
+ # through identity federation. * `user:`emailid``: An email address that
2174
+ # represents a specific Google account. For example, `alice@example.com` . * `
2175
+ # serviceAccount:`emailid``: An email address that represents a Google service
2176
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
2177
+ # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
2178
+ # identifier for a [Kubernetes service account](https://cloud.google.com/
2179
+ # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
2180
+ # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
2181
+ # email address that represents a Google group. For example, `admins@example.com`
2182
+ # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
2183
+ # identifier) representing a user that has been recently deleted. For example, `
2184
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
2185
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
2186
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
2187
+ # address (plus unique identifier) representing a service account that has been
2188
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
2189
+ # 123456789012345678901`. If the service account is undeleted, this value
2190
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
2191
+ # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
2192
+ # An email address (plus unique identifier) representing a Google group that has
2193
+ # been recently deleted. For example, `admins@example.com?uid=
2194
+ # 123456789012345678901`. If the group is recovered, this value reverts to `
2195
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
2196
+ # domain:`domain``: The G Suite domain (primary) that represents all the users
2197
+ # of that domain. For example, `google.com` or `example.com`.
2170
2198
  # Corresponds to the JSON property `members`
2171
2199
  # @return [Array<String>]
2172
2200
  attr_accessor :members
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module IdentitytoolkitV2
18
18
  # Version of the google-apis-identitytoolkit_v2 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220815"
25
+ REVISION = "20220826"
26
26
  end
27
27
  end
28
28
  end
@@ -136,6 +136,18 @@ module Google
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
+ class GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
139
151
  class GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse
140
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
153
 
@@ -639,6 +651,18 @@ module Google
639
651
  end
640
652
  end
641
653
 
654
+ class GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest
655
+ # @private
656
+ class Representation < Google::Apis::Core::JsonRepresentation
657
+ end
658
+ end
659
+
660
+ class GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse
661
+ # @private
662
+ class Representation < Google::Apis::Core::JsonRepresentation
663
+ end
664
+ end
665
+
642
666
  class GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse
643
667
  # @private
644
668
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -480,6 +480,44 @@ module Google
480
480
  execute_or_queue_command(command, &block)
481
481
  end
482
482
 
483
+ # Initialize Identity Platform for a Cloud project. Identity Platform is an end-
484
+ # to-end authentication system for third-party users to access your apps and
485
+ # services. These could include mobile/web apps, games, APIs and beyond. This is
486
+ # the publicly available variant of EnableIdentityPlatform that is only
487
+ # available to billing-enabled projects.
488
+ # @param [String] project
489
+ # The resource name of the target project the developer wants to enable Identity
490
+ # Platform for.
491
+ # @param [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest] google_cloud_identitytoolkit_admin_v2_initialize_identity_platform_request_object
492
+ # @param [String] fields
493
+ # Selector specifying which fields to include in a partial response.
494
+ # @param [String] quota_user
495
+ # Available to use for quota purposes for server-side applications. Can be any
496
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
497
+ # @param [Google::Apis::RequestOptions] options
498
+ # Request-specific options
499
+ #
500
+ # @yield [result, err] Result & error if block supplied
501
+ # @yieldparam result [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse] parsed result object
502
+ # @yieldparam err [StandardError] error object if request failed
503
+ #
504
+ # @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse]
505
+ #
506
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
507
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
508
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
509
+ def initialize_project_identity_platform_auth(project, google_cloud_identitytoolkit_admin_v2_initialize_identity_platform_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
510
+ command = make_simple_command(:post, 'v2/{+project}/identityPlatform:initializeAuth', options)
511
+ command.request_representation = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest::Representation
512
+ command.request_object = google_cloud_identitytoolkit_admin_v2_initialize_identity_platform_request_object
513
+ command.response_representation = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse::Representation
514
+ command.response_class = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse
515
+ command.params['project'] = project unless project.nil?
516
+ command.query['fields'] = fields unless fields.nil?
517
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
518
+ execute_or_queue_command(command, &block)
519
+ end
520
+
483
521
  # Create an inbound SAML configuration for an Identity Toolkit project.
484
522
  # @param [String] parent
485
523
  # The parent resource name where the config to be created, for example: "
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-identitytoolkit_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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-08-22 00:00:00.000000000 Z
11
+ date: 2022-09-05 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-identitytoolkit_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-identitytoolkit_v2/v0.1.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-identitytoolkit_v2/v0.2.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-identitytoolkit_v2
63
63
  post_install_message:
64
64
  rdoc_options: []