Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCreateBundleRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb

Overview

PROTECT WITH A VISIBILITY LABEL. THIS METHOD WILL BE MOVED TO A SEPARATE SERVICE. Request to create a new Bundle.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaCreateBundleRequest

Returns a new instance of GoogleCloudIntegrationsV1alphaCreateBundleRequest.



5880
5881
5882
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5880

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bundle_idString

Required. name of the bundle that will be created Corresponds to the JSON property bundleId

Returns:

  • (String)


5865
5866
5867
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5865

def bundle_id
  @bundle_id
end

#integrationsArray<String>

A list of integrations that can be executed by the bundle Corresponds to the JSON property integrations

Returns:

  • (Array<String>)


5870
5871
5872
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5870

def integrations
  @integrations
end

#secondary_customer_org_idString

Optional. The prefix for the SA, it should be in the format "o". This is an optional field, and if empty service account will be created per project, where we are creating bundle. This should only be used as the org ID for which we want to run the integrations in the bundle. Corresponds to the JSON property secondaryCustomerOrgId

Returns:

  • (String)


5878
5879
5880
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5878

def secondary_customer_org_id
  @secondary_customer_org_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5885
5886
5887
5888
5889
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5885

def update!(**args)
  @bundle_id = args[:bundle_id] if args.key?(:bundle_id)
  @integrations = args[:integrations] if args.key?(:integrations)
  @secondary_customer_org_id = args[:secondary_customer_org_id] if args.key?(:secondary_customer_org_id)
end