Class: Google::Apis::StsV1beta::GoogleIdentityStsV1Options
- Inherits:
-
Object
- Object
- Google::Apis::StsV1beta::GoogleIdentityStsV1Options
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sts_v1beta/classes.rb,
lib/google/apis/sts_v1beta/representations.rb,
lib/google/apis/sts_v1beta/representations.rb
Overview
An Options object configures features that the Security Token Service
supports, but that are not supported by standard OAuth 2.0 token exchange
endpoints, as defined in https://tools.ietf.org/html/rfc8693.
Instance Attribute Summary collapse
-
#access_boundary ⇒ Google::Apis::StsV1beta::GoogleIdentityStsV1AccessBoundary
An access boundary defines the upper bound of what a principal may access.
-
#bind_cert_fingerprint ⇒ String
The unpadded, base64url-encoded SHA-256 hash of the certificate's DER encoding and it must be 43 characters long.
-
#user_project ⇒ String
A Google project used for quota and billing purposes when the credential is used to access Google APIs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleIdentityStsV1Options
constructor
A new instance of GoogleIdentityStsV1Options.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleIdentityStsV1Options
Returns a new instance of GoogleIdentityStsV1Options.
230 231 232 |
# File 'lib/google/apis/sts_v1beta/classes.rb', line 230 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_boundary ⇒ Google::Apis::StsV1beta::GoogleIdentityStsV1AccessBoundary
An access boundary defines the upper bound of what a principal may access. It
includes a list of access boundary rules that each defines the resource that
may be allowed as well as permissions that may be used on those resources.
Corresponds to the JSON property accessBoundary
213 214 215 |
# File 'lib/google/apis/sts_v1beta/classes.rb', line 213 def access_boundary @access_boundary end |
#bind_cert_fingerprint ⇒ String
The unpadded, base64url-encoded SHA-256 hash of the certificate's DER encoding
and it must be 43 characters long. The resulting token will be bound to this
value.
Corresponds to the JSON property bindCertFingerprint
220 221 222 |
# File 'lib/google/apis/sts_v1beta/classes.rb', line 220 def bind_cert_fingerprint @bind_cert_fingerprint end |
#user_project ⇒ String
A Google project used for quota and billing purposes when the credential is
used to access Google APIs. The provided project overrides the project bound
to the credential. The value must be a project number or a project ID. Example:
my-sample-project-191923. The maximum length is 32 characters.
Corresponds to the JSON property userProject
228 229 230 |
# File 'lib/google/apis/sts_v1beta/classes.rb', line 228 def user_project @user_project end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
235 236 237 238 239 |
# File 'lib/google/apis/sts_v1beta/classes.rb', line 235 def update!(**args) @access_boundary = args[:access_boundary] if args.key?(:access_boundary) @bind_cert_fingerprint = args[:bind_cert_fingerprint] if args.key?(:bind_cert_fingerprint) @user_project = args[:user_project] if args.key?(:user_project) end |