Google Cloud Storage Spoke

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 3 minutes to read
  • Manage storage and retrieval of data in Google Cloud from your ServiceNow instance.

    Request apps on the Store

    Visit the ServiceNow Store website to view all the available apps and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.

    Integration Hub subscription

    This spoke requires an Integration Hub subscription. For more information, see Legal schedules - IntegrationHub overview.

    Spoke version

    Google Cloud Storage spoke v1.0.4 is the latest version.

    Spoke dependencies

    If you’re having trouble installing the app, ensure that these dependent plugins are installed:

    • ServiceNow IntegrationHub Action Template - Data Stream (com.glide.hub.action_type.datastream)
    • ServiceNow IntegrationHub Action Step - REST (com.glide.hub.action_step.rest)
    • ServiceNow IntegrationHub Runtime (com.glide.hub.integration.runtime)
    • ServiceNow Flow Designer - Dynamic Inputs (com.glide.hub.dynamic_inputs)
    • Complex Object (com.glide.cobject)
    Note:
    Some of these plugins are licensable features and require an appropriate license if used outside the spoke implementation. For information on licenses, contact your account manager.

    Google Cloud Storage account requirements

    The Google Cloud Storage spoke requires a custom app that you create in Google Cloud Platforms

    Supported versions

    This spoke was built for API version v1, but may be compatible with later versions.

    Spoke subflows

    The Google Cloud Storage spoke provides sample subflows to demonstrate automating Google Cloud Storage tasks. To customize the sample subflow, copy it to a new application scope. Available sample subflows include:

    Subflow Description
    Move An Object Moves an object from the source bucket to destination bucket.
    Rename An Object Renames the specified object.

    Spoke actions

    The Google Cloud Storage spoke provides actions to automate Google Cloud Storage when events occur in ServiceNow. For the spoke actions to be performed, you must ensure that your project or organization in Google Cloud Platform has the mentioned permissions. Available spoke actions include:

    Category Action Description Permissions Required
    Bucket Access Control Management Create/Update Bucket Access Control Creates or updates a bucket access control.
    • storage.buckets.get
    • storage.buckets.getIamPolicy
    • storage.buckets.setIamPolicy
    • storage.buckets.update
    Delete Bucket Access Control Deletes the specified bucket access control.
    • storage.buckets.get
    • storage.buckets.getIamPolicy
    • storage.buckets.setIamPolicy
    • storage.buckets.update
    List All Bucket Access Controls Retrieves the list of all bucket access controls.
    • storage.buckets.get
    • storage.buckets.getIamPolicy
    Bucket Management Create Bucket Creates a bucket in Google Cloud Storage. storage.buckets.create
    Delete A Bucket Deletes the specified bucket in Google Cloud Storage. storage.buckets.delete
    Get Bucket Details Retrieves details of the specified bucket in Google Cloud Storage.
    • storage.buckets.get
    • storage.buckets.getIamPolicy
    Get Bucket Labels Retrieves labels of the specified bucket in Google Cloud Storage.
    • storage.buckets.get
    • storage.buckets.getIamPolicy
    Get IAM Policy Retrieves IAM policy of the specified bucket in Google Cloud Storage. storage.buckets.getIamPolicy
    List All Buckets Retrieves details of all buckets in Google Cloud Storage.
    • storage.buckets.list
    • storage.buckets.getIamPolicy
    Update Bucket Details Updates details of the specified bucket in Google Cloud Storage.
    • storage.buckets.update
    • storage.buckets.setIamPolicy
    Update Bucket IAM Policy Updates IAM policy of the specified bucket in Google Cloud Storage. storage.buckets.setIamPolicy
    Object Access Control Management Create/Update Object Access Control Creates or updates a object access control.
    • storage.objects.get
    • storage.objects.getIamPolicy
    • storage.objects.setIamPolicy
    • storage.objects.update
    Delete Object Access Control Deletes the specified object access control.
    • storage.objects.get
    • storage.objects.getIamPolicy
    • storage.objects.setIamPolicy
    • storage.objects.update
    List All Object Access Controls Retrieves the list of all object access controls.
    • storage.objects.get
    • storage.objects.getIamPolicy
    Object Management Copy Object Copies an object from one bucket to another bucket.
    • storage.objects.create (for the destination bucket)
    • storage.objects.delete (for the destination bucket)
    • storage.objects.get (for the source bucket)
    Delete An Object Deletes an object in a bucket. storage.objects.delete
    Download Object To ServiceNow Downloads the specified object to ServiceNow.
    • storage.objects.get
    • storage.objects.getIamPolicy
    Get Object Details Retrieves the details of the specified object.
    • storage.objects.get
    • storage.objects.getIamPolicy
    List All Objects Retrieves list of all objects in the specified bucket.
    • storage.objects.list
    • storage.objects.getIamPolicy
    Rewrite An Object Rewrites an object from the source bucket to destination bucket.
    • storage.objects.create (for the destination bucket)
    • storage.objects.delete (for the destination bucket)
    • storage.objects.get (for the source bucket)
    Update Object Details In A Bucket Updates details of the specified object in a bucket.
    • storage.objects.update
    • storage.objects.setIamPolicy
    Update Object Storage Class Updates storage class of the specified object.
    • storage.objects.update
    • storage.objects.setIamPolicy
    Upload An Object Uploads an object to the specified bucket.
    • storage.objects.create
    • storage.objects.delete
    For more information about the required permissions, see IAM permissions reference.

    Connection and credential alias requirements

    Integration Hub uses aliases to manage connection and credential information, and OAuth credentials. Using an alias eliminates the need to configure multiple credentials and connection information profiles when using multiple environments. If the connection or credential information changes, you don't need to update any actions that use the connection.

    For information about setting up the spoke, see Set up the Google Cloud Storage spoke.