Class: Google::Apis::ComputeAlpha::NetworkProfileLocation

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkProfileLocation

Returns a new instance of NetworkProfileLocation.



47647
47648
47649
# File 'lib/google/apis/compute_alpha/classes.rb', line 47647

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


47640
47641
47642
# File 'lib/google/apis/compute_alpha/classes.rb', line 47640

def name
  @name
end

#scopeString

Corresponds to the JSON property scope

Returns:

  • (String)


47645
47646
47647
# File 'lib/google/apis/compute_alpha/classes.rb', line 47645

def scope
  @scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47652
47653
47654
47655
# File 'lib/google/apis/compute_alpha/classes.rb', line 47652

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