models.google_cloud_credentials module

class models.google_cloud_credentials.GoogleCloudCredentials(client_email_address=None, client_private_key=None, project_id=None, tier_type=None)[source]

Bases: object

Implementation of the ‘GoogleCloudCredentials’ model.

Specifies the cloud credentials to connect to a Google service account.

Attributes:
client_email_address (string): Specifies the client email address used

to access Google Cloud Storage.

client_private_key (string): Specifies the private key used to access

Google Cloud Storage that is generated when the service account is created.

project_id (string): Specifies the project id of an existing Google

Cloud project to store objects.

tier_type (TierTypeGoogleCloudCredentialsEnum): Specifies the storage

class of GCP. GoogleTierType specifies the storage class for Google. ‘kGoogleStandard’ indicates a tier type of Google properties. ‘kGoogleNearline’ indicates a tier type of Google properties that is not accessed frequently. ‘kGoogleColdline’ indicates a tier type of Google properties that is rarely accessed. ‘kGoogleRegional’ indicates a tier type of Google properties that stores frequently accessed data in the same region. ‘kGoogleMultiRegional’ indicates a tier type of Google properties that is frequently accessed (“hot” objects) around the world.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.