Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory
- 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
ApiCategory represents an API category. Catalog items can be tagged with
API categories; users viewing the API catalog in the portal will have the
option to browse the catalog by category.
Instance Attribute Summary collapse
-
#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) ⇒ GoogleCloudApigeeV1ApiCategory
constructor
A new instance of GoogleCloudApigeeV1ApiCategory.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1ApiCategory
Returns a new instance of GoogleCloudApigeeV1ApiCategory.
497 498 499 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 497 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
ID of the category (a UUID).
Corresponds to the JSON property id
480 481 482 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 480 def id @id end |
#name ⇒ String
Name of the category.
Corresponds to the JSON property name
485 486 487 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 485 def name @name end |
#site_id ⇒ String
Name of the portal.
Corresponds to the JSON property siteId
490 491 492 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 490 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
495 496 497 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 495 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
502 503 504 505 506 507 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 502 def update!(**args) @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 |