Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy

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

Overview

Metadata describing the API proxy

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1ApiProxy

Returns a new instance of GoogleCloudApigeeV1ApiProxy.


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

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

Instance Attribute Details

#latest_revision_idString

The id of the most recently created revision for this api proxy. Corresponds to the JSON property latestRevisionId

Returns:

  • (String)

446
447
448
# File 'generated/google/apis/apigee_v1/classes.rb', line 446

def latest_revision_id
  @latest_revision_id
end

#meta_dataGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1EntityMetadata

Metadata common to many entities in this API. Corresponds to the JSON property metaData


451
452
453
# File 'generated/google/apis/apigee_v1/classes.rb', line 451

def 
  @meta_data
end

#nameString

Name of the API proxy. Corresponds to the JSON property name

Returns:

  • (String)

456
457
458
# File 'generated/google/apis/apigee_v1/classes.rb', line 456

def name
  @name
end

#revisionArray<String>

List of revisons defined for the API proxy. Corresponds to the JSON property revision

Returns:

  • (Array<String>)

461
462
463
# File 'generated/google/apis/apigee_v1/classes.rb', line 461

def revision
  @revision
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


468
469
470
471
472
473
# File 'generated/google/apis/apigee_v1/classes.rb', line 468

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