Class: Google::Apis::ApphubV1::Boundary

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

Overview

Application management boundary.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Boundary

Returns a new instance of Boundary.



344
345
346
# File 'lib/google/apis/apphub_v1/classes.rb', line 344

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

Instance Attribute Details

#create_timeString

Output only. Create time. Corresponds to the JSON property createTime

Returns:

  • (String)


320
321
322
# File 'lib/google/apis/apphub_v1/classes.rb', line 320

def create_time
  @create_time
end

#crm_nodeString

Optional. The resource name of the CRM node being attached to the boundary. Format: projects/project-numberor `projects/`project-id Corresponds to the JSON property crmNode

Returns:

  • (String)


326
327
328
# File 'lib/google/apis/apphub_v1/classes.rb', line 326

def crm_node
  @crm_node
end

#nameString

Identifier. The resource name of the boundary. Format: "projects/project/ locations/location/boundary" Corresponds to the JSON property name

Returns:

  • (String)


332
333
334
# File 'lib/google/apis/apphub_v1/classes.rb', line 332

def name
  @name
end

#typeString

Output only. Boundary type. Corresponds to the JSON property type

Returns:

  • (String)


337
338
339
# File 'lib/google/apis/apphub_v1/classes.rb', line 337

def type
  @type
end

#update_timeString

Output only. Update time. Corresponds to the JSON property updateTime

Returns:

  • (String)


342
343
344
# File 'lib/google/apis/apphub_v1/classes.rb', line 342

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



349
350
351
352
353
354
355
# File 'lib/google/apis/apphub_v1/classes.rb', line 349

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @crm_node = args[:crm_node] if args.key?(:crm_node)
  @name = args[:name] if args.key?(:name)
  @type = args[:type] if args.key?(:type)
  @update_time = args[:update_time] if args.key?(:update_time)
end