Class: Google::Apis::ApphubV1alpha::Scope

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apphub_v1alpha/classes.rb,
lib/google/apis/apphub_v1alpha/representations.rb,
lib/google/apis/apphub_v1alpha/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.



1174
1175
1176
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1174

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

Instance Attribute Details

#typeString

Required. Scope Type. Corresponds to the JSON property type

Returns:

  • (String)


1172
1173
1174
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1172

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1179
1180
1181
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1179

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