Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData

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

Overview

the Api category resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1ApiCategoryData

Returns a new instance of GoogleCloudApigeeV1ApiCategoryData.



470
471
472
# File 'lib/google/apis/apigee_v1/classes.rb', line 470

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

Instance Attribute Details

#gcp_resourceString

GCP name of api category resource. Corresponds to the JSON property gcpResource

Returns:

  • (String)


448
449
450
# File 'lib/google/apis/apigee_v1/classes.rb', line 448

def gcp_resource
  @gcp_resource
end

#idString

ID of the category (a UUID). Corresponds to the JSON property id

Returns:

  • (String)


453
454
455
# File 'lib/google/apis/apigee_v1/classes.rb', line 453

def id
  @id
end

#nameString

Name of the category. Corresponds to the JSON property name

Returns:

  • (String)


458
459
460
# File 'lib/google/apis/apigee_v1/classes.rb', line 458

def name
  @name
end

#site_idString

Name of the portal. Corresponds to the JSON property siteId

Returns:

  • (String)


463
464
465
# File 'lib/google/apis/apigee_v1/classes.rb', line 463

def site_id
  @site_id
end

#update_timeFixnum

Time the category was last modified in milliseconds since epoch. Corresponds to the JSON property updateTime

Returns:

  • (Fixnum)


468
469
470
# File 'lib/google/apis/apigee_v1/classes.rb', line 468

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



475
476
477
478
479
480
481
# File 'lib/google/apis/apigee_v1/classes.rb', line 475

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