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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1ResourceConfig

Returns a new instance of GoogleCloudApigeeV1ResourceConfig.



6218
6219
6220
# File 'lib/google/apis/apigee_v1/classes.rb', line 6218

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

Instance Attribute Details

#locationString

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

Returns:

  • (String)


6209
6210
6211
# File 'lib/google/apis/apigee_v1/classes.rb', line 6209

def location
  @location
end

#nameString

Resource name in the following format: organizations/org/environments/env/ resourcefiles/type/file/revisions/rev`Only environment-scoped resource files are supported. Corresponds to the JSON propertyname`

Returns:

  • (String)


6216
6217
6218
# File 'lib/google/apis/apigee_v1/classes.rb', line 6216

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6223
6224
6225
6226
# File 'lib/google/apis/apigee_v1/classes.rb', line 6223

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