API hub V1 API - Class Google::Cloud::ApiHub::V1::AuthConfig::Oauth2ClientCredentialsConfig (v0.6.0)

Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::AuthConfig::Oauth2ClientCredentialsConfig.

Parameters to support Oauth 2.0 client credentials grant authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#client_id

def client_id() -> ::String
Returns
  • (::String) — Required. The client identifier.

#client_id=

def client_id=(value) -> ::String
Parameter
  • value (::String) — Required. The client identifier.
Returns
  • (::String) — Required. The client identifier.

#client_secret

def client_secret() -> ::Google::Cloud::ApiHub::V1::Secret
Returns
  • (::Google::Cloud::ApiHub::V1::Secret) — Required. Secret version reference containing the client secret. The secretmanager.versions.access permission should be granted to the service account accessing the secret.

#client_secret=

def client_secret=(value) -> ::Google::Cloud::ApiHub::V1::Secret
Parameter
  • value (::Google::Cloud::ApiHub::V1::Secret) — Required. Secret version reference containing the client secret. The secretmanager.versions.access permission should be granted to the service account accessing the secret.
Returns
  • (::Google::Cloud::ApiHub::V1::Secret) — Required. Secret version reference containing the client secret. The secretmanager.versions.access permission should be granted to the service account accessing the secret.