Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceConfig
- 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
-
#location ⇒ String
Location of the resource as a URI.
-
#name ⇒ String
Resource name in the following format:
organizations/org/environments/env/ resourcefiles/type/file/revisions/rev`` Only environment-scoped resource files are supported.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1ResourceConfig
constructor
A new instance of GoogleCloudApigeeV1ResourceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1ResourceConfig
Returns a new instance of GoogleCloudApigeeV1ResourceConfig.
8645 8646 8647 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 8645 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ String
Location of the resource as a URI.
Corresponds to the JSON property location
8636 8637 8638 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 8636 def location @location end |
#name ⇒ String
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`
8643 8644 8645 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 8643 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8650 8651 8652 8653 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 8650 def update!(**args) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) end |