Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaShareTemplateRequest

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

Overview

Request to Share template

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaShareTemplateRequest

Returns a new instance of GoogleCloudIntegrationsV1alphaShareTemplateRequest.



10353
10354
10355
# File 'lib/google/apis/integrations_v1/classes.rb', line 10353

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

Instance Attribute Details

#resource_namesArray<String>

Optional. Project name resources to share the template. The project names is expected in resource format Ex: projects/project-number or organization/org- id Corresponds to the JSON property resourceNames

Returns:

  • (Array<String>)


10351
10352
10353
# File 'lib/google/apis/integrations_v1/classes.rb', line 10351

def resource_names
  @resource_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10358
10359
10360
# File 'lib/google/apis/integrations_v1/classes.rb', line 10358

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