class Google::Apis::ComputeV1::BackendServiceIap

Identity-Aware Proxy

Attributes

enabled[RW]

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]

enabled?[RW]

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[RW]

OAuth2 client ID to use for the authentication flow. Corresponds to the JSON property `oauth2ClientId` @return [String]

oauth2_client_secret[RW]

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]

oauth2_client_secret_sha256[RW]
Output Only

SHA256 hash value for the field oauth2_client_secret above.

Corresponds to the JSON property `oauth2ClientSecretSha256` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 3931
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/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