Class GCSObject

All Implemented Interfaces:
IAsset, ICatalog, ICloud, IGCS, IGCSObject, IGoogle, IObjectStore, IReferenceable, AuditDetail, Serializable, Comparable<Reference>

@Generated("com.atlan.generators.ModelGeneratorV2") public class GCSObject extends Asset implements IGCSObject, IGCS, IGoogle, IObjectStore, ICloud, IAsset, IReferenceable, ICatalog
Instance of a Google Cloud Storage object in Atlan.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • trimToReference

      public GCSObject trimToReference() throws InvalidRequestException
      Builds the minimal object necessary to create a relationship to a GCSObject, from a potentially more-complete GCSObject object.
      Overrides:
      trimToReference in class Asset
      Returns:
      the minimal object necessary to relate to the GCSObject
      Throws:
      InvalidRequestException - if any of the minimal set of required properties for a GCSObject relationship are not found in the initial object
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select()
      Start a fluent search that will return all GCSObject assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval. Only active (non-archived) GCSObject assets will be included.
      Returns:
      a fluent search that includes all GCSObject assets
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select(AtlanClient client)
      Start a fluent search that will return all GCSObject assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval. Only active (non-archived) GCSObject assets will be included.
      Parameters:
      client - connectivity to the Atlan tenant from which to retrieve the assets
      Returns:
      a fluent search that includes all GCSObject assets
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select(boolean includeArchived)
      Start a fluent search that will return all GCSObject assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval.
      Parameters:
      includeArchived - when true, archived (soft-deleted) GCSObjects will be included
      Returns:
      a fluent search that includes all GCSObject assets
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select(AtlanClient client, boolean includeArchived)
      Start a fluent search that will return all GCSObject assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval.
      Parameters:
      client - connectivity to the Atlan tenant from which to retrieve the assets
      includeArchived - when true, archived (soft-deleted) GCSObjects will be included
      Returns:
      a fluent search that includes all GCSObject assets
    • refByGuid

      public static GCSObject refByGuid(String guid)
      Reference to a GCSObject by GUID. Use this to create a relationship to this GCSObject, where the relationship should be replaced.
      Parameters:
      guid - the GUID of the GCSObject to reference
      Returns:
      reference to a GCSObject that can be used for defining a relationship to a GCSObject
    • refByGuid

      public static GCSObject refByGuid(String guid, Reference.SaveSemantic semantic)
      Reference to a GCSObject by GUID. Use this to create a relationship to this GCSObject, where you want to further control how that relationship should be updated (i.e. replaced, appended, or removed).
      Parameters:
      guid - the GUID of the GCSObject to reference
      semantic - how to save this relationship (replace all with this, append it, or remove it)
      Returns:
      reference to a GCSObject that can be used for defining a relationship to a GCSObject
    • refByQualifiedName

      public static GCSObject refByQualifiedName(String qualifiedName)
      Reference to a GCSObject by qualifiedName. Use this to create a relationship to this GCSObject, where the relationship should be replaced.
      Parameters:
      qualifiedName - the qualifiedName of the GCSObject to reference
      Returns:
      reference to a GCSObject that can be used for defining a relationship to a GCSObject
    • refByQualifiedName

      public static GCSObject refByQualifiedName(String qualifiedName, Reference.SaveSemantic semantic)
      Reference to a GCSObject by qualifiedName. Use this to create a relationship to this GCSObject, where you want to further control how that relationship should be updated (i.e. replaced, appended, or removed).
      Parameters:
      qualifiedName - the qualifiedName of the GCSObject to reference
      semantic - how to save this relationship (replace all with this, append it, or remove it)
      Returns:
      reference to a GCSObject that can be used for defining a relationship to a GCSObject
    • get

      public static GCSObject get(String id) throws AtlanException
      Retrieves a GCSObject by one of its identifiers, complete with all of its relationships.
      Parameters:
      id - of the GCSObject to retrieve, either its GUID or its full qualifiedName
      Returns:
      the requested full GCSObject, complete with all of its relationships
      Throws:
      AtlanException - on any error during the API invocation, such as the NotFoundException if the GCSObject does not exist or the provided GUID is not a GCSObject
    • get

      public static GCSObject get(AtlanClient client, String id) throws AtlanException
      Retrieves a GCSObject by one of its identifiers, complete with all of its relationships.
      Parameters:
      client - connectivity to the Atlan tenant from which to retrieve the asset
      id - of the GCSObject to retrieve, either its GUID or its full qualifiedName
      Returns:
      the requested full GCSObject, complete with all of its relationships
      Throws:
      AtlanException - on any error during the API invocation, such as the NotFoundException if the GCSObject does not exist or the provided GUID is not a GCSObject
    • get

      public static GCSObject get(AtlanClient client, String id, boolean includeRelationships) throws AtlanException
      Retrieves a GCSObject by one of its identifiers, optionally complete with all of its relationships.
      Parameters:
      client - connectivity to the Atlan tenant from which to retrieve the asset
      id - of the GCSObject to retrieve, either its GUID or its full qualifiedName
      includeRelationships - if true, all of the asset's relationships will also be retrieved; if false, no relationships will be retrieved
      Returns:
      the requested full GCSObject, optionally complete with all of its relationships
      Throws:
      AtlanException - on any error during the API invocation, such as the NotFoundException if the GCSObject does not exist or the provided GUID is not a GCSObject
    • restore

      public static boolean restore(String qualifiedName) throws AtlanException
      Restore the archived (soft-deleted) GCSObject to active.
      Parameters:
      qualifiedName - for the GCSObject
      Returns:
      true if the GCSObject is now active, and false otherwise
      Throws:
      AtlanException - on any API problems
    • restore

      public static boolean restore(AtlanClient client, String qualifiedName) throws AtlanException
      Restore the archived (soft-deleted) GCSObject to active.
      Parameters:
      client - connectivity to the Atlan tenant on which to restore the asset
      qualifiedName - for the GCSObject
      Returns:
      true if the GCSObject is now active, and false otherwise
      Throws:
      AtlanException - on any API problems
    • creator

      public static GCSObject.GCSObjectBuilder<?,?> creator(String name, GCSBucket bucket) throws InvalidRequestException
      Builds the minimal object necessary to create a GCSObject.
      Parameters:
      name - of the GCSObject
      bucket - in which the GCSObject should be created, which must have at least a qualifiedName
      Returns:
      the minimal request necessary to create the GCSObject, as a builder
      Throws:
      InvalidRequestException - if the bucket provided is without a qualifiedName
    • creator

      public static GCSObject.GCSObjectBuilder<?,?> creator(String name, String bucketQualifiedName)
      Builds the minimal object necessary to create a GCSObject.
      Parameters:
      name - of the GCSObject
      bucketQualifiedName - unique name of the bucket in which the GCSObject is contained
      Returns:
      the minimal object necessary to create the GCSObject, as a builder
    • creator

      public static GCSObject.GCSObjectBuilder<?,?> creator(String name, String connectionQualifiedName, String bucketName, String bucketQualifiedName)
      Builds the minimal object necessary to create a GCSObject.
      Parameters:
      name - of the GCSObject
      connectionQualifiedName - unique name of the connection in which the GCSObject should be created
      bucketName - simple name of the GCSBucket in which the GCSObject should be created
      bucketQualifiedName - unique name of the GCSBucket in which the GCSObject should be created
      Returns:
      the minimal object necessary to create the GCSObject, as a builder
    • generateQualifiedName

      public static String generateQualifiedName(String name, String bucketQualifiedName)
      Generate a unique GCSObject name.
      Parameters:
      name - of the GCSObject
      bucketQualifiedName - unique name of the bucket in which the GCSObject is contained
      Returns:
      a unique name for the GCSObject
    • updater

      public static GCSObject.GCSObjectBuilder<?,?> updater(String qualifiedName, String name)
      Builds the minimal object necessary to update a GCSObject.
      Parameters:
      qualifiedName - of the GCSObject
      name - of the GCSObject
      Returns:
      the minimal request necessary to update the GCSObject, as a builder
    • trimToRequired

      public GCSObject.GCSObjectBuilder<?,?> trimToRequired() throws InvalidRequestException
      Builds the minimal object necessary to apply an update to a GCSObject, from a potentially more-complete GCSObject object.
      Overrides:
      trimToRequired in class Asset
      Returns:
      the minimal object necessary to update the GCSObject, as a builder
      Throws:
      InvalidRequestException - if any of the minimal set of required properties for GCSObject are not found in the initial object
    • removeDescription

      public static GCSObject removeDescription(String qualifiedName, String name) throws AtlanException
      Remove the system description from a GCSObject.
      Parameters:
      qualifiedName - of the GCSObject
      name - of the GCSObject
      Returns:
      the updated GCSObject, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeDescription

      public static GCSObject removeDescription(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the system description from a GCSObject.
      Parameters:
      client - connectivity to the Atlan tenant on which to remove the asset's description
      qualifiedName - of the GCSObject
      name - of the GCSObject
      Returns:
      the updated GCSObject, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeUserDescription

      public static GCSObject removeUserDescription(String qualifiedName, String name) throws AtlanException
      Remove the user's description from a GCSObject.
      Parameters:
      qualifiedName - of the GCSObject
      name - of the GCSObject
      Returns:
      the updated GCSObject, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeUserDescription

      public static GCSObject removeUserDescription(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the user's description from a GCSObject.
      Parameters:
      client - connectivity to the Atlan tenant on which to remove the asset's description
      qualifiedName - of the GCSObject
      name - of the GCSObject
      Returns:
      the updated GCSObject, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeOwners

      public static GCSObject removeOwners(String qualifiedName, String name) throws AtlanException
      Remove the owners from a GCSObject.
      Parameters:
      qualifiedName - of the GCSObject
      name - of the GCSObject
      Returns:
      the updated GCSObject, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeOwners

      public static GCSObject removeOwners(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the owners from a GCSObject.
      Parameters:
      client - connectivity to the Atlan tenant from which to remove the GCSObject's owners
      qualifiedName - of the GCSObject
      name - of the GCSObject
      Returns:
      the updated GCSObject, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • updateCertificate

      public static GCSObject updateCertificate(String qualifiedName, CertificateStatus certificate, String message) throws AtlanException
      Update the certificate on a GCSObject.
      Parameters:
      qualifiedName - of the GCSObject
      certificate - to use
      message - (optional) message, or null if no message
      Returns:
      the updated GCSObject, or null if the update failed
      Throws:
      AtlanException - on any API problems
    • updateCertificate

      public static GCSObject updateCertificate(AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) throws AtlanException
      Update the certificate on a GCSObject.
      Parameters:
      client - connectivity to the Atlan tenant on which to update the GCSObject's certificate
      qualifiedName - of the GCSObject
      certificate - to use
      message - (optional) message, or null if no message
      Returns:
      the updated GCSObject, or null if the update failed
      Throws:
      AtlanException - on any API problems
    • removeCertificate

      public static GCSObject removeCertificate(String qualifiedName, String name) throws AtlanException
      Remove the certificate from a GCSObject.
      Parameters:
      qualifiedName - of the GCSObject
      name - of the GCSObject
      Returns:
      the updated GCSObject, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeCertificate

      public static GCSObject removeCertificate(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the certificate from a GCSObject.
      Parameters:
      client - connectivity to the Atlan tenant from which to remove the GCSObject's certificate
      qualifiedName - of the GCSObject
      name - of the GCSObject
      Returns:
      the updated GCSObject, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • updateAnnouncement

      public static GCSObject updateAnnouncement(String qualifiedName, AtlanAnnouncementType type, String title, String message) throws AtlanException
      Update the announcement on a GCSObject.
      Parameters:
      qualifiedName - of the GCSObject
      type - type of announcement to set
      title - (optional) title of the announcement to set (or null for no title)
      message - (optional) message of the announcement to set (or null for no message)
      Returns:
      the result of the update, or null if the update failed
      Throws:
      AtlanException - on any API problems
    • updateAnnouncement

      public static GCSObject updateAnnouncement(AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) throws AtlanException
      Update the announcement on a GCSObject.
      Parameters:
      client - connectivity to the Atlan tenant on which to update the GCSObject's announcement
      qualifiedName - of the GCSObject
      type - type of announcement to set
      title - (optional) title of the announcement to set (or null for no title)
      message - (optional) message of the announcement to set (or null for no message)
      Returns:
      the result of the update, or null if the update failed
      Throws:
      AtlanException - on any API problems
    • removeAnnouncement

      public static GCSObject removeAnnouncement(String qualifiedName, String name) throws AtlanException
      Remove the announcement from a GCSObject.
      Parameters:
      qualifiedName - of the GCSObject
      name - of the GCSObject
      Returns:
      the updated GCSObject, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeAnnouncement

      public static GCSObject removeAnnouncement(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the announcement from a GCSObject.
      Parameters:
      client - connectivity to the Atlan client from which to remove the GCSObject's announcement
      qualifiedName - of the GCSObject
      name - of the GCSObject
      Returns:
      the updated GCSObject, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • replaceTerms

      public static GCSObject replaceTerms(String qualifiedName, String name, List<IGlossaryTerm> terms) throws AtlanException
      Replace the terms linked to the GCSObject.
      Parameters:
      qualifiedName - for the GCSObject
      name - human-readable name of the GCSObject
      terms - the list of terms to replace on the GCSObject, or null to remove all terms from the GCSObject
      Returns:
      the GCSObject that was updated (note that it will NOT contain details of the replaced terms)
      Throws:
      AtlanException - on any API problems
    • replaceTerms

      public static GCSObject replaceTerms(AtlanClient client, String qualifiedName, String name, List<IGlossaryTerm> terms) throws AtlanException
      Replace the terms linked to the GCSObject.
      Parameters:
      client - connectivity to the Atlan tenant on which to replace the GCSObject's assigned terms
      qualifiedName - for the GCSObject
      name - human-readable name of the GCSObject
      terms - the list of terms to replace on the GCSObject, or null to remove all terms from the GCSObject
      Returns:
      the GCSObject that was updated (note that it will NOT contain details of the replaced terms)
      Throws:
      AtlanException - on any API problems
    • appendTerms

      public static GCSObject appendTerms(String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException
      Link additional terms to the GCSObject, without replacing existing terms linked to the GCSObject. Note: this operation must make two API calls — one to retrieve the GCSObject's existing terms, and a second to append the new terms.
      Parameters:
      qualifiedName - for the GCSObject
      terms - the list of terms to append to the GCSObject
      Returns:
      the GCSObject that was updated (note that it will NOT contain details of the appended terms)
      Throws:
      AtlanException - on any API problems
    • appendTerms

      public static GCSObject appendTerms(AtlanClient client, String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException
      Link additional terms to the GCSObject, without replacing existing terms linked to the GCSObject. Note: this operation must make two API calls — one to retrieve the GCSObject's existing terms, and a second to append the new terms.
      Parameters:
      client - connectivity to the Atlan tenant on which to append terms to the GCSObject
      qualifiedName - for the GCSObject
      terms - the list of terms to append to the GCSObject
      Returns:
      the GCSObject that was updated (note that it will NOT contain details of the appended terms)
      Throws:
      AtlanException - on any API problems
    • removeTerms

      public static GCSObject removeTerms(String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException
      Remove terms from a GCSObject, without replacing all existing terms linked to the GCSObject. Note: this operation must make two API calls — one to retrieve the GCSObject's existing terms, and a second to remove the provided terms.
      Parameters:
      qualifiedName - for the GCSObject
      terms - the list of terms to remove from the GCSObject, which must be referenced by GUID
      Returns:
      the GCSObject that was updated (note that it will NOT contain details of the resulting terms)
      Throws:
      AtlanException - on any API problems
    • removeTerms

      public static GCSObject removeTerms(AtlanClient client, String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException
      Remove terms from a GCSObject, without replacing all existing terms linked to the GCSObject. Note: this operation must make two API calls — one to retrieve the GCSObject's existing terms, and a second to remove the provided terms.
      Parameters:
      client - connectivity to the Atlan tenant from which to remove terms from the GCSObject
      qualifiedName - for the GCSObject
      terms - the list of terms to remove from the GCSObject, which must be referenced by GUID
      Returns:
      the GCSObject that was updated (note that it will NOT contain details of the resulting terms)
      Throws:
      AtlanException - on any API problems
    • appendAtlanTags

      public static GCSObject appendAtlanTags(String qualifiedName, List<String> atlanTagNames) throws AtlanException
      Add Atlan tags to a GCSObject, without replacing existing Atlan tags linked to the GCSObject. Note: this operation must make two API calls — one to retrieve the GCSObject's existing Atlan tags, and a second to append the new Atlan tags.
      Parameters:
      qualifiedName - of the GCSObject
      atlanTagNames - human-readable names of the Atlan tags to add
      Returns:
      the updated GCSObject
      Throws:
      AtlanException - on any API problems
    • appendAtlanTags

      public static GCSObject appendAtlanTags(AtlanClient client, String qualifiedName, List<String> atlanTagNames) throws AtlanException
      Add Atlan tags to a GCSObject, without replacing existing Atlan tags linked to the GCSObject. Note: this operation must make two API calls — one to retrieve the GCSObject's existing Atlan tags, and a second to append the new Atlan tags.
      Parameters:
      client - connectivity to the Atlan tenant on which to append Atlan tags to the GCSObject
      qualifiedName - of the GCSObject
      atlanTagNames - human-readable names of the Atlan tags to add
      Returns:
      the updated GCSObject
      Throws:
      AtlanException - on any API problems
    • appendAtlanTags

      public static GCSObject appendAtlanTags(String qualifiedName, List<String> atlanTagNames, boolean propagate, boolean removePropagationsOnDelete, boolean restrictLineagePropagation) throws AtlanException
      Add Atlan tags to a GCSObject, without replacing existing Atlan tags linked to the GCSObject. Note: this operation must make two API calls — one to retrieve the GCSObject's existing Atlan tags, and a second to append the new Atlan tags.
      Parameters:
      qualifiedName - of the GCSObject
      atlanTagNames - human-readable names of the Atlan tags to add
      propagate - whether to propagate the Atlan tag (true) or not (false)
      removePropagationsOnDelete - whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false)
      restrictLineagePropagation - whether to avoid propagating through lineage (true) or do propagate through lineage (false)
      Returns:
      the updated GCSObject
      Throws:
      AtlanException - on any API problems
    • appendAtlanTags

      public static GCSObject appendAtlanTags(AtlanClient client, String qualifiedName, List<String> atlanTagNames, boolean propagate, boolean removePropagationsOnDelete, boolean restrictLineagePropagation) throws AtlanException
      Add Atlan tags to a GCSObject, without replacing existing Atlan tags linked to the GCSObject. Note: this operation must make two API calls — one to retrieve the GCSObject's existing Atlan tags, and a second to append the new Atlan tags.
      Parameters:
      client - connectivity to the Atlan tenant on which to append Atlan tags to the GCSObject
      qualifiedName - of the GCSObject
      atlanTagNames - human-readable names of the Atlan tags to add
      propagate - whether to propagate the Atlan tag (true) or not (false)
      removePropagationsOnDelete - whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false)
      restrictLineagePropagation - whether to avoid propagating through lineage (true) or do propagate through lineage (false)
      Returns:
      the updated GCSObject
      Throws:
      AtlanException - on any API problems
    • removeAtlanTag

      public static void removeAtlanTag(String qualifiedName, String atlanTagName) throws AtlanException
      Remove an Atlan tag from a GCSObject.
      Parameters:
      qualifiedName - of the GCSObject
      atlanTagName - human-readable name of the Atlan tag to remove
      Throws:
      AtlanException - on any API problems, or if the Atlan tag does not exist on the GCSObject
    • removeAtlanTag

      public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) throws AtlanException
      Remove an Atlan tag from a GCSObject.
      Parameters:
      client - connectivity to the Atlan tenant from which to remove an Atlan tag from a GCSObject
      qualifiedName - of the GCSObject
      atlanTagName - human-readable name of the Atlan tag to remove
      Throws:
      AtlanException - on any API problems, or if the Atlan tag does not exist on the GCSObject
    • _internal

      public static GCSObject.GCSObjectBuilder<?,?> _internal()
    • toBuilder

      public GCSObject.GCSObjectBuilder<?,?> toBuilder()
      Overrides:
      toBuilder in class Reference
    • getApplicationContainer

      public IApplicationContainer getApplicationContainer()
      ApplicationContainer asset containing this Catalog asset.
      Specified by:
      getApplicationContainer in interface ICatalog
      Specified by:
      getApplicationContainer in interface IGCS
      Specified by:
      getApplicationContainer in interface IGCSObject
      Specified by:
      getApplicationContainer in interface IObjectStore
    • getAssetApplicationQualifiedName

      public String getAssetApplicationQualifiedName()
      Qualified name of the Application Container that contains this asset.
      Specified by:
      getAssetApplicationQualifiedName in interface ICatalog
      Specified by:
      getAssetApplicationQualifiedName in interface IGCS
      Specified by:
      getAssetApplicationQualifiedName in interface IGCSObject
      Specified by:
      getAssetApplicationQualifiedName in interface IObjectStore
    • getGcsAccessControl

      public String getGcsAccessControl()
      Access control list for this asset.
      Specified by:
      getGcsAccessControl in interface IGCS
      Specified by:
      getGcsAccessControl in interface IGCSObject
    • getGcsBucket

      public IGCSBucket getGcsBucket()
      GCS bucket in which the object exists.
      Specified by:
      getGcsBucket in interface IGCSObject
    • getGcsBucketName

      public String getGcsBucketName()
      Simple name of the bucket in which this object exists.
      Specified by:
      getGcsBucketName in interface IGCSObject
    • getGcsBucketQualifiedName

      public String getGcsBucketQualifiedName()
      Unique name of the bucket in which this object exists.
      Specified by:
      getGcsBucketQualifiedName in interface IGCSObject
    • getGcsETag

      public String getGcsETag()
      Entity tag for the asset. An entity tag is a hash of the object and represents changes to the contents of an object only, not its metadata.
      Specified by:
      getGcsETag in interface IGCS
      Specified by:
      getGcsETag in interface IGCSObject
    • getGcsEncryptionType

      public String getGcsEncryptionType()
      Encryption algorithm used to encrypt this asset.
      Specified by:
      getGcsEncryptionType in interface IGCS
      Specified by:
      getGcsEncryptionType in interface IGCSObject
    • getGcsMetaGenerationId

      public Long getGcsMetaGenerationId()
      Version of metadata for this asset at this generation. Used for preconditions and detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular asset.
      Specified by:
      getGcsMetaGenerationId in interface IGCS
      Specified by:
      getGcsMetaGenerationId in interface IGCSObject
    • getGcsObjectCRC32CHash

      public String getGcsObjectCRC32CHash()
      CRC32C hash of this object.
      Specified by:
      getGcsObjectCRC32CHash in interface IGCSObject
    • getGcsObjectContentDisposition

      public String getGcsObjectContentDisposition()
      Information about how this object's content should be presented.
      Specified by:
      getGcsObjectContentDisposition in interface IGCSObject
    • getGcsObjectContentEncoding

      public String getGcsObjectContentEncoding()
      Content encoding of this object.
      Specified by:
      getGcsObjectContentEncoding in interface IGCSObject
    • getGcsObjectContentLanguage

      public String getGcsObjectContentLanguage()
      Language of this object's contents.
      Specified by:
      getGcsObjectContentLanguage in interface IGCSObject
    • getGcsObjectContentType

      public String getGcsObjectContentType()
      Type of content in this object.
      Specified by:
      getGcsObjectContentType in interface IGCSObject
    • getGcsObjectDataLastModifiedTime

      public Long getGcsObjectDataLastModifiedTime()
      Time (epoch) at which this object's data was last modified, in milliseconds.
      Specified by:
      getGcsObjectDataLastModifiedTime in interface IGCSObject
    • getGcsObjectGenerationId

      public Long getGcsObjectGenerationId()
      Generation ID of this object.
      Specified by:
      getGcsObjectGenerationId in interface IGCSObject
    • getGcsObjectHoldType

      public String getGcsObjectHoldType()
      Type of hold on this object.
      Specified by:
      getGcsObjectHoldType in interface IGCSObject
    • getGcsObjectKey

      public String getGcsObjectKey()
      Key of this object, in GCS.
      Specified by:
      getGcsObjectKey in interface IGCSObject
    • getGcsObjectMD5Hash

      public String getGcsObjectMD5Hash()
      MD5 hash of this object.
      Specified by:
      getGcsObjectMD5Hash in interface IGCSObject
    • getGcsObjectMediaLink

      public String getGcsObjectMediaLink()
      Media link to this object.
      Specified by:
      getGcsObjectMediaLink in interface IGCSObject
    • getGcsObjectRetentionExpirationDate

      public Long getGcsObjectRetentionExpirationDate()
      Retention expiration date of this object.
      Specified by:
      getGcsObjectRetentionExpirationDate in interface IGCSObject
    • getGcsObjectSize

      public Long getGcsObjectSize()
      Object size in bytes.
      Specified by:
      getGcsObjectSize in interface IGCSObject
    • getGcsRequesterPays

      public Boolean getGcsRequesterPays()
      Whether the requester pays header was sent when this asset was created (true) or not (false).
      Specified by:
      getGcsRequesterPays in interface IGCS
      Specified by:
      getGcsRequesterPays in interface IGCSObject
    • getGcsStorageClass

      public String getGcsStorageClass()
      Storage class of this asset.
      Specified by:
      getGcsStorageClass in interface IGCS
      Specified by:
      getGcsStorageClass in interface IGCSObject
    • getGoogleLabels

      public List<GoogleLabel> getGoogleLabels()
      List of labels that have been applied to the asset in Google.
      Specified by:
      getGoogleLabels in interface IGCS
      Specified by:
      getGoogleLabels in interface IGCSObject
      Specified by:
      getGoogleLabels in interface IGoogle
    • getGoogleLocation

      public String getGoogleLocation()
      Location of this asset in Google.
      Specified by:
      getGoogleLocation in interface IGCS
      Specified by:
      getGoogleLocation in interface IGCSObject
      Specified by:
      getGoogleLocation in interface IGoogle
    • getGoogleLocationType

      public String getGoogleLocationType()
      Type of location of this asset in Google.
      Specified by:
      getGoogleLocationType in interface IGCS
      Specified by:
      getGoogleLocationType in interface IGCSObject
      Specified by:
      getGoogleLocationType in interface IGoogle
    • getGoogleProjectId

      public String getGoogleProjectId()
      ID of the project in which the asset exists.
      Specified by:
      getGoogleProjectId in interface IGCS
      Specified by:
      getGoogleProjectId in interface IGCSObject
      Specified by:
      getGoogleProjectId in interface IGoogle
    • getGoogleProjectName

      public String getGoogleProjectName()
      Name of the project in which the asset exists.
      Specified by:
      getGoogleProjectName in interface IGCS
      Specified by:
      getGoogleProjectName in interface IGCSObject
      Specified by:
      getGoogleProjectName in interface IGoogle
    • getGoogleProjectNumber

      public Long getGoogleProjectNumber()
      Number of the project in which the asset exists.
      Specified by:
      getGoogleProjectNumber in interface IGCS
      Specified by:
      getGoogleProjectNumber in interface IGCSObject
      Specified by:
      getGoogleProjectNumber in interface IGoogle
    • getGoogleService

      public String getGoogleService()
      Service in Google in which the asset exists.
      Specified by:
      getGoogleService in interface IGCS
      Specified by:
      getGoogleService in interface IGCSObject
      Specified by:
      getGoogleService in interface IGoogle
    • getGoogleTags

      public List<GoogleTag> getGoogleTags()
      List of tags that have been applied to the asset in Google.
      Specified by:
      getGoogleTags in interface IGCS
      Specified by:
      getGoogleTags in interface IGCSObject
      Specified by:
      getGoogleTags in interface IGoogle
    • getInputToAirflowTasks

      public SortedSet<IAirflowTask> getInputToAirflowTasks()
      Tasks to which this asset provides input.
      Specified by:
      getInputToAirflowTasks in interface ICatalog
      Specified by:
      getInputToAirflowTasks in interface IGCS
      Specified by:
      getInputToAirflowTasks in interface IGCSObject
      Specified by:
      getInputToAirflowTasks in interface IObjectStore
    • getInputToProcesses

      public SortedSet<ILineageProcess> getInputToProcesses()
      Processes to which this asset provides input.
      Specified by:
      getInputToProcesses in interface ICatalog
      Specified by:
      getInputToProcesses in interface IGCS
      Specified by:
      getInputToProcesses in interface IGCSObject
      Specified by:
      getInputToProcesses in interface IObjectStore
    • getInputToSparkJobs

      public SortedSet<ISparkJob> getInputToSparkJobs()
      TBC
      Specified by:
      getInputToSparkJobs in interface ICatalog
      Specified by:
      getInputToSparkJobs in interface IGCS
      Specified by:
      getInputToSparkJobs in interface IGCSObject
      Specified by:
      getInputToSparkJobs in interface IObjectStore
    • getModelImplementedEntities

      public SortedSet<IModelEntity> getModelImplementedEntities()
      Entities implemented by this asset.
      Specified by:
      getModelImplementedEntities in interface ICatalog
      Specified by:
      getModelImplementedEntities in interface IGCS
      Specified by:
      getModelImplementedEntities in interface IGCSObject
      Specified by:
      getModelImplementedEntities in interface IObjectStore
    • getOutputFromAirflowTasks

      public SortedSet<IAirflowTask> getOutputFromAirflowTasks()
      Tasks from which this asset is output.
      Specified by:
      getOutputFromAirflowTasks in interface ICatalog
      Specified by:
      getOutputFromAirflowTasks in interface IGCS
      Specified by:
      getOutputFromAirflowTasks in interface IGCSObject
      Specified by:
      getOutputFromAirflowTasks in interface IObjectStore
    • getOutputFromProcesses

      public SortedSet<ILineageProcess> getOutputFromProcesses()
      Processes from which this asset is produced as output.
      Specified by:
      getOutputFromProcesses in interface ICatalog
      Specified by:
      getOutputFromProcesses in interface IGCS
      Specified by:
      getOutputFromProcesses in interface IGCSObject
      Specified by:
      getOutputFromProcesses in interface IObjectStore
    • getOutputFromSparkJobs

      public SortedSet<ISparkJob> getOutputFromSparkJobs()
      TBC
      Specified by:
      getOutputFromSparkJobs in interface ICatalog
      Specified by:
      getOutputFromSparkJobs in interface IGCS
      Specified by:
      getOutputFromSparkJobs in interface IGCSObject
      Specified by:
      getOutputFromSparkJobs in interface IObjectStore
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Asset
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class Asset
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Asset
    • toString

      public String toString()
      Description copied from class: AtlanObject
      Overrides:
      toString in class Asset
    • getTypeName

      public String getTypeName()
      Fixed typeName for GCSObjects.
      Specified by:
      getTypeName in interface AuditDetail
      Specified by:
      getTypeName in interface IAsset
      Specified by:
      getTypeName in interface ICatalog
      Specified by:
      getTypeName in interface ICloud
      Specified by:
      getTypeName in interface IGCS
      Specified by:
      getTypeName in interface IGCSObject
      Specified by:
      getTypeName in interface IGoogle
      Specified by:
      getTypeName in interface IObjectStore
      Specified by:
      getTypeName in interface IReferenceable
      Overrides:
      getTypeName in class Reference