class Azure::Security::Mgmt::V2020_01_01_preview::Models::GcpCredentialsDetailsProperties

GCP cloud account connector based service to service credentials, the credentials are composed of the organization ID and a JSON API key (write only)

Attributes

auth_provider_x509cert_url[RW]

@return [String] Auth provider x509 certificate URL field of the API key (write only)

auth_uri[RW]

@return [String] Auth URI field of the API key (write only)

authenticationType[RW]
client_email[RW]

@return [String] Client email field of the API key (write only)

client_id[RW]

@return [String] Client ID field of the API key (write only)

client_x509cert_url[RW]

@return [String] Client x509 certificate URL field of the API key (write only)

organization_id[RW]

@return [String] The organization ID of the GCP cloud account

private_key[RW]

@return [String] Private key field of the API key (write only)

private_key_id[RW]

@return [String] Private key ID field of the API key (write only)

project_id[RW]

@return [String] Project ID field of the API key (write only)

token_uri[RW]

@return [String] Token URI field of the API key (write only)

type[RW]

@return [String] Type field of the API key (write only)

Private Class Methods

mapper() click to toggle source

Mapper for GcpCredentialsDetailsProperties class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-01-01-preview/generated/azure_mgmt_security/models/gcp_credentials_details_properties.rb, line 64
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'gcpCredentials',
    type: {
      name: 'Composite',
      class_name: 'GcpCredentialsDetailsProperties',
      model_properties: {
        authentication_provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'authenticationProvisioningState',
          type: {
            name: 'String'
          }
        },
        granted_permissions: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'grantedPermissions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PermissionPropertyElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        authenticationType: {
          client_side_validation: true,
          required: true,
          serialized_name: 'authenticationType',
          type: {
            name: 'String'
          }
        },
        organization_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'organizationId',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        project_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'projectId',
          type: {
            name: 'String'
          }
        },
        private_key_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'privateKeyId',
          type: {
            name: 'String'
          }
        },
        private_key: {
          client_side_validation: true,
          required: true,
          serialized_name: 'privateKey',
          type: {
            name: 'String'
          }
        },
        client_email: {
          client_side_validation: true,
          required: true,
          serialized_name: 'clientEmail',
          type: {
            name: 'String'
          }
        },
        client_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'clientId',
          type: {
            name: 'String'
          }
        },
        auth_uri: {
          client_side_validation: true,
          required: true,
          serialized_name: 'authUri',
          type: {
            name: 'String'
          }
        },
        token_uri: {
          client_side_validation: true,
          required: true,
          serialized_name: 'tokenUri',
          type: {
            name: 'String'
          }
        },
        auth_provider_x509cert_url: {
          client_side_validation: true,
          required: true,
          serialized_name: 'authProviderX509CertUrl',
          type: {
            name: 'String'
          }
        },
        client_x509cert_url: {
          client_side_validation: true,
          required: true,
          serialized_name: 'clientX509CertUrl',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2020-01-01-preview/generated/azure_mgmt_security/models/gcp_credentials_details_properties.rb, line 18
def initialize
  @authenticationType = "gcpCredentials"
end