Class: Google::Apis::SaasservicemgmtV1beta1::CompositeRef

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

Overview

CompositeRef represents a reference to a composite resource. Next ID: 4

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CompositeRef

Returns a new instance of CompositeRef.



237
238
239
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 237

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

Instance Attribute Details

#application_templateString

Required. Reference to the ApplicationTemplate resource. Corresponds to the JSON property applicationTemplate

Returns:

  • (String)


222
223
224
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 222

def application_template
  @application_template
end

#revisionString

Revision of the ApplicationTemplate to use. Changes to revision will trigger manual resynchronization. If empty, ApplicationTemplate will be ignored. Corresponds to the JSON property revision

Returns:

  • (String)


228
229
230
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 228

def revision
  @revision
end

#sync_operationString

Output only. Reference to on-going AppTemplate import and replication operation (i.e. the operation_id for the long-running operation). This field is opaque for external usage. Corresponds to the JSON property syncOperation

Returns:

  • (String)


235
236
237
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 235

def sync_operation
  @sync_operation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



242
243
244
245
246
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 242

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