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

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1ResourceConfig

Returns a new instance of GoogleCloudApigeeV1ResourceConfig.



4944
4945
4946
# File 'generated/google/apis/apigee_v1/classes.rb', line 4944

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)


4935
4936
4937
# File 'generated/google/apis/apigee_v1/classes.rb', line 4935

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)


4942
4943
4944
# File 'generated/google/apis/apigee_v1/classes.rb', line 4942

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4949
4950
4951
4952
# File 'generated/google/apis/apigee_v1/classes.rb', line 4949

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