Class: Google::Apis::NetworkservicesV1::WasmPluginUsedBy

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

Overview

Defines a resource that uses the WasmPlugin resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WasmPluginUsedBy

Returns a new instance of WasmPluginUsedBy.



5247
5248
5249
# File 'lib/google/apis/networkservices_v1/classes.rb', line 5247

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

Instance Attribute Details

#nameString

Output only. Full name of the resource https://google.aip.dev/122#full- resource-names, for example //networkservices.googleapis.com/projects/ project/locations/location/lbRouteExtensions/extension` Corresponds to the JSON propertyname`

Returns:

  • (String)


5245
5246
5247
# File 'lib/google/apis/networkservices_v1/classes.rb', line 5245

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5252
5253
5254
# File 'lib/google/apis/networkservices_v1/classes.rb', line 5252

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