Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment

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

Archive Deployment information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1ArchiveDeployment

Returns a new instance of GoogleCloudApigeeV1ArchiveDeployment.



1429
1430
1431
# File 'lib/google/apis/apigee_v1/classes.rb', line 1429

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

Instance Attribute Details

#created_atFixnum

Output only. The time at which the Archive Deployment was created in milliseconds since the epoch. Corresponds to the JSON property createdAt

Returns:

  • (Fixnum)


1392
1393
1394
# File 'lib/google/apis/apigee_v1/classes.rb', line 1392

def created_at
  @created_at
end

#gcs_uriString

Input only. The Google Cloud Storage signed URL returned from GenerateUploadUrl and used to upload the Archive zip file. Corresponds to the JSON property gcsUri

Returns:

  • (String)


1398
1399
1400
# File 'lib/google/apis/apigee_v1/classes.rb', line 1398

def gcs_uri
  @gcs_uri
end

#labelsHash<String,String>

User-supplied key-value pairs used to organize ArchiveDeployments. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \pLl\pLo 0,62 Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\pLl\pLo\pN_-]0,63 No more than 64 labels can be associated with a given store. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


1409
1410
1411
# File 'lib/google/apis/apigee_v1/classes.rb', line 1409

def labels
  @labels
end

#nameString

Name of the Archive Deployment in the following format: organizations/org/ environments/env/archiveDeployments/id`. Corresponds to the JSON propertyname`

Returns:

  • (String)


1415
1416
1417
# File 'lib/google/apis/apigee_v1/classes.rb', line 1415

def name
  @name
end

#operationString

Output only. A reference to the LRO that created this Archive Deployment in the following format: organizations/org/operations/id` Corresponds to the JSON propertyoperation`

Returns:

  • (String)


1421
1422
1423
# File 'lib/google/apis/apigee_v1/classes.rb', line 1421

def operation
  @operation
end

#updated_atFixnum

Output only. The time at which the Archive Deployment was updated in milliseconds since the epoch. Corresponds to the JSON property updatedAt

Returns:

  • (Fixnum)


1427
1428
1429
# File 'lib/google/apis/apigee_v1/classes.rb', line 1427

def updated_at
  @updated_at
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1434
1435
1436
1437
1438
1439
1440
1441
# File 'lib/google/apis/apigee_v1/classes.rb', line 1434

def update!(**args)
  @created_at = args[:created_at] if args.key?(:created_at)
  @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @operation = args[:operation] if args.key?(:operation)
  @updated_at = args[:updated_at] if args.key?(:updated_at)
end