class Google::Apis::ComputeBeta::BackendServiceIap
Identity-Aware Proxy
Attributes
Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty. Corresponds to the JSON property `enabled` @return [Boolean]
Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty. Corresponds to the JSON property `enabled` @return [Boolean]
OAuth2 client ID to use for the authentication flow. Corresponds to the JSON property `oauth2ClientId` @return [String]
OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly Corresponds to the JSON property `oauth2ClientSecret` @return [String]
- Output Only
-
SHA256 hash value for the field
oauth2_client_secret
above.
Corresponds to the JSON property `oauth2ClientSecretSha256` @return [String]
Public Class Methods
# File lib/google/apis/compute_beta/classes.rb, line 3931 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/compute_beta/classes.rb, line 3936 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id) @oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret) @oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256) end