Class: Google::Apis::ComputeV1::NetworkProfileLocation

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkProfileLocation

Returns a new instance of NetworkProfileLocation.



33444
33445
33446
# File 'lib/google/apis/compute_v1/classes.rb', line 33444

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


33437
33438
33439
# File 'lib/google/apis/compute_v1/classes.rb', line 33437

def name
  @name
end

#scopeString

Corresponds to the JSON property scope

Returns:

  • (String)


33442
33443
33444
# File 'lib/google/apis/compute_v1/classes.rb', line 33442

def scope
  @scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33449
33450
33451
33452
# File 'lib/google/apis/compute_v1/classes.rb', line 33449

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