Class: Google::Apis::SaasservicemgmtV1beta1::CompositeRef
- Inherits:
-
Object
- Object
- Google::Apis::SaasservicemgmtV1beta1::CompositeRef
- 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
-
#application_template ⇒ String
Required.
-
#revision ⇒ String
Revision of the ApplicationTemplate to use.
-
#sync_operation ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CompositeRef
constructor
A new instance of CompositeRef.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_template ⇒ String
Required. Reference to the ApplicationTemplate resource.
Corresponds to the JSON property applicationTemplate
222 223 224 |
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 222 def application_template @application_template end |
#revision ⇒ String
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
228 229 230 |
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 228 def revision @revision end |
#sync_operation ⇒ String
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
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 |