Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1ResourceConfig

Returns a new instance of GoogleCloudApigeeV1ResourceConfig.



3334
3335
3336
# File 'generated/google/apis/apigee_v1/classes.rb', line 3334

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

Instance Attribute Details

#locationString

The location of the resource as a URI. Corresponds to the JSON property location

Returns:

  • (String)


3324
3325
3326
# File 'generated/google/apis/apigee_v1/classes.rb', line 3324

def location
  @location
end

#nameString

The resource name. Only environment-scoped resource files are supported. Must be of the form 'organizations/org/environments/env/resourcefiles/type/file/revisions/ rev'. Corresponds to the JSON property name

Returns:

  • (String)


3332
3333
3334
# File 'generated/google/apis/apigee_v1/classes.rb', line 3332

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3339
3340
3341
3342
# File 'generated/google/apis/apigee_v1/classes.rb', line 3339

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