Class GCSBucket

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

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

  • Constructor Details

  • Method Details

    • trimToReference

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

      public static FluentSearch.FluentSearchBuilder<?,?> select()
      Start a fluent search that will return all GCSBucket 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) GCSBucket assets will be included.
      Returns:
      a fluent search that includes all GCSBucket assets
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select(AtlanClient client)
      Start a fluent search that will return all GCSBucket 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) GCSBucket assets will be included.
      Parameters:
      client - connectivity to the Atlan tenant from which to retrieve the assets
      Returns:
      a fluent search that includes all GCSBucket assets
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select(boolean includeArchived)
      Start a fluent search that will return all GCSBucket 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) GCSBuckets will be included
      Returns:
      a fluent search that includes all GCSBucket assets
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select(AtlanClient client, boolean includeArchived)
      Start a fluent search that will return all GCSBucket 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) GCSBuckets will be included
      Returns:
      a fluent search that includes all GCSBucket assets
    • refByGuid

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

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

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

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

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

      public static GCSBucket get(AtlanClient client, String id) throws AtlanException
      Retrieves a GCSBucket 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 GCSBucket to retrieve, either its GUID or its full qualifiedName
      Returns:
      the requested full GCSBucket, complete with all of its relationships
      Throws:
      AtlanException - on any error during the API invocation, such as the NotFoundException if the GCSBucket does not exist or the provided GUID is not a GCSBucket
    • get

      public static GCSBucket get(AtlanClient client, String id, boolean includeRelationships) throws AtlanException
      Retrieves a GCSBucket 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 GCSBucket 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 GCSBucket, optionally complete with all of its relationships
      Throws:
      AtlanException - on any error during the API invocation, such as the NotFoundException if the GCSBucket does not exist or the provided GUID is not a GCSBucket
    • restore

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

      public static GCSBucket.GCSBucketBuilder<?,?> creator(String name, String connectionQualifiedName)
      Builds the minimal object necessary to create a GCSBucket.
      Parameters:
      name - of the GCSBucket
      connectionQualifiedName - unique name of the connection through which the GCSBucket is accessible
      Returns:
      the minimal object necessary to create the GCSBucket, as a builder
    • generateQualifiedName

      public static String generateQualifiedName(String name, String connectionQualifiedName)
      Generate a unique GCSBucket name.
      Parameters:
      name - of the GCSBucket
      connectionQualifiedName - unique name of the connection through which the GCSBucket is accessible
      Returns:
      a unique name for the GCSBucket
    • updater

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

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

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

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

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

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

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

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

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

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

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

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

      public static GCSBucket updateAnnouncement(String qualifiedName, AtlanAnnouncementType type, String title, String message) throws AtlanException
      Update the announcement on a GCSBucket.
      Parameters:
      qualifiedName - of the GCSBucket
      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 GCSBucket updateAnnouncement(AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) throws AtlanException
      Update the announcement on a GCSBucket.
      Parameters:
      client - connectivity to the Atlan tenant on which to update the GCSBucket's announcement
      qualifiedName - of the GCSBucket
      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 GCSBucket removeAnnouncement(String qualifiedName, String name) throws AtlanException
      Remove the announcement from a GCSBucket.
      Parameters:
      qualifiedName - of the GCSBucket
      name - of the GCSBucket
      Returns:
      the updated GCSBucket, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeAnnouncement

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

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

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

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

      public static GCSBucket appendTerms(AtlanClient client, String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException
      Link additional terms to the GCSBucket, without replacing existing terms linked to the GCSBucket. Note: this operation must make two API calls — one to retrieve the GCSBucket'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 GCSBucket
      qualifiedName - for the GCSBucket
      terms - the list of terms to append to the GCSBucket
      Returns:
      the GCSBucket that was updated (note that it will NOT contain details of the appended terms)
      Throws:
      AtlanException - on any API problems
    • removeTerms

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

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

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

      public static GCSBucket appendAtlanTags(AtlanClient client, String qualifiedName, List<String> atlanTagNames) throws AtlanException
      Add Atlan tags to a GCSBucket, without replacing existing Atlan tags linked to the GCSBucket. Note: this operation must make two API calls — one to retrieve the GCSBucket'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 GCSBucket
      qualifiedName - of the GCSBucket
      atlanTagNames - human-readable names of the Atlan tags to add
      Returns:
      the updated GCSBucket
      Throws:
      AtlanException - on any API problems
    • appendAtlanTags

      public static GCSBucket appendAtlanTags(String qualifiedName, List<String> atlanTagNames, boolean propagate, boolean removePropagationsOnDelete, boolean restrictLineagePropagation) throws AtlanException
      Add Atlan tags to a GCSBucket, without replacing existing Atlan tags linked to the GCSBucket. Note: this operation must make two API calls — one to retrieve the GCSBucket's existing Atlan tags, and a second to append the new Atlan tags.
      Parameters:
      qualifiedName - of the GCSBucket
      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 GCSBucket
      Throws:
      AtlanException - on any API problems
    • appendAtlanTags

      public static GCSBucket appendAtlanTags(AtlanClient client, String qualifiedName, List<String> atlanTagNames, boolean propagate, boolean removePropagationsOnDelete, boolean restrictLineagePropagation) throws AtlanException
      Add Atlan tags to a GCSBucket, without replacing existing Atlan tags linked to the GCSBucket. Note: this operation must make two API calls — one to retrieve the GCSBucket'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 GCSBucket
      qualifiedName - of the GCSBucket
      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 GCSBucket
      Throws:
      AtlanException - on any API problems
    • removeAtlanTag

      public static void removeAtlanTag(String qualifiedName, String atlanTagName) throws AtlanException
      Remove an Atlan tag from a GCSBucket.
      Parameters:
      qualifiedName - of the GCSBucket
      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 GCSBucket
    • removeAtlanTag

      public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) throws AtlanException
      Remove an Atlan tag from a GCSBucket.
      Parameters:
      client - connectivity to the Atlan tenant from which to remove an Atlan tag from a GCSBucket
      qualifiedName - of the GCSBucket
      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 GCSBucket
    • _internal

      public static GCSBucket.GCSBucketBuilder<?,?> _internal()
    • toBuilder

      public GCSBucket.GCSBucketBuilder<?,?> 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 IGCSBucket
      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 IGCSBucket
      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 IGCSBucket
    • getGcsBucketLifecycleRules

      public String getGcsBucketLifecycleRules()
      Lifecycle rules for this bucket.
      Specified by:
      getGcsBucketLifecycleRules in interface IGCSBucket
    • getGcsBucketRetentionEffectiveTime

      public Long getGcsBucketRetentionEffectiveTime()
      Effective time for retention of objects in this bucket.
      Specified by:
      getGcsBucketRetentionEffectiveTime in interface IGCSBucket
    • getGcsBucketRetentionLocked

      public Boolean getGcsBucketRetentionLocked()
      Whether retention is locked for this bucket (true) or not (false).
      Specified by:
      getGcsBucketRetentionLocked in interface IGCSBucket
    • getGcsBucketRetentionPeriod

      public Long getGcsBucketRetentionPeriod()
      Retention period for objects in this bucket.
      Specified by:
      getGcsBucketRetentionPeriod in interface IGCSBucket
    • getGcsBucketRetentionPolicy

      public String getGcsBucketRetentionPolicy()
      Retention policy for this bucket.
      Specified by:
      getGcsBucketRetentionPolicy in interface IGCSBucket
    • getGcsBucketVersioningEnabled

      public Boolean getGcsBucketVersioningEnabled()
      Whether versioning is enabled on the bucket (true) or not (false).
      Specified by:
      getGcsBucketVersioningEnabled in interface IGCSBucket
    • 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 IGCSBucket
    • getGcsEncryptionType

      public String getGcsEncryptionType()
      Encryption algorithm used to encrypt this asset.
      Specified by:
      getGcsEncryptionType in interface IGCS
      Specified by:
      getGcsEncryptionType in interface IGCSBucket
    • 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 IGCSBucket
    • getGcsObjectCount

      public Long getGcsObjectCount()
      Number of objects within the bucket.
      Specified by:
      getGcsObjectCount in interface IGCSBucket
    • getGcsObjects

      public SortedSet<IGCSObject> getGcsObjects()
      GCS objects within this bucket.
      Specified by:
      getGcsObjects in interface IGCSBucket
    • 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 IGCSBucket
    • getGcsStorageClass

      public String getGcsStorageClass()
      Storage class of this asset.
      Specified by:
      getGcsStorageClass in interface IGCS
      Specified by:
      getGcsStorageClass in interface IGCSBucket
    • 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 IGCSBucket
      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 IGCSBucket
      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 IGCSBucket
      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 IGCSBucket
      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 IGCSBucket
      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 IGCSBucket
      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 IGCSBucket
      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 IGCSBucket
      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 IGCSBucket
      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 IGCSBucket
      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 IGCSBucket
      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 IGCSBucket
      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 IGCSBucket
      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 IGCSBucket
      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 IGCSBucket
      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 GCSBuckets.
      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 IGCSBucket
      Specified by:
      getTypeName in interface IGoogle
      Specified by:
      getTypeName in interface IObjectStore
      Specified by:
      getTypeName in interface IReferenceable
      Overrides:
      getTypeName in class Reference