Class: Google::Apis::ApphubV1::Scope

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

Scope of an application.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Scope

Returns a new instance of Scope.



1517
1518
1519
# File 'lib/google/apis/apphub_v1/classes.rb', line 1517

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

Instance Attribute Details

#typeString

Required. Scope Type. Corresponds to the JSON property type

Returns:

  • (String)


1515
1516
1517
# File 'lib/google/apis/apphub_v1/classes.rb', line 1515

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1522
1523
1524
# File 'lib/google/apis/apphub_v1/classes.rb', line 1522

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