Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData
- 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
Overview
the Api category resource.
Instance Attribute Summary collapse
-
#gcp_resource ⇒ String
GCP name of api category resource.
-
#id ⇒ String
ID of the category (a UUID).
-
#name ⇒ String
Name of the category.
-
#site_id ⇒ String
Name of the portal.
-
#update_time ⇒ Fixnum
Time the category was last modified in milliseconds since epoch.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1ApiCategoryData
constructor
A new instance of GoogleCloudApigeeV1ApiCategoryData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1ApiCategoryData
Returns a new instance of GoogleCloudApigeeV1ApiCategoryData.
542 543 544 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 542 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcp_resource ⇒ String
GCP name of api category resource.
Corresponds to the JSON property gcpResource
520 521 522 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 520 def gcp_resource @gcp_resource end |
#id ⇒ String
ID of the category (a UUID).
Corresponds to the JSON property id
525 526 527 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 525 def id @id end |
#name ⇒ String
Name of the category.
Corresponds to the JSON property name
530 531 532 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 530 def name @name end |
#site_id ⇒ String
Name of the portal.
Corresponds to the JSON property siteId
535 536 537 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 535 def site_id @site_id end |
#update_time ⇒ Fixnum
Time the category was last modified in milliseconds since epoch.
Corresponds to the JSON property updateTime
540 541 542 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 540 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
547 548 549 550 551 552 553 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 547 def update!(**args) @gcp_resource = args[:gcp_resource] if args.key?(:gcp_resource) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) @site_id = args[:site_id] if args.key?(:site_id) @update_time = args[:update_time] if args.key?(:update_time) end |