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.



1786
1787
1788
# File 'lib/google/apis/apigee_v1/classes.rb', line 1786

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)


1749
1750
1751
# File 'lib/google/apis/apigee_v1/classes.rb', line 1749

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)


1755
1756
1757
# File 'lib/google/apis/apigee_v1/classes.rb', line 1755

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>)


1766
1767
1768
# File 'lib/google/apis/apigee_v1/classes.rb', line 1766

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)


1772
1773
1774
# File 'lib/google/apis/apigee_v1/classes.rb', line 1772

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)


1778
1779
1780
# File 'lib/google/apis/apigee_v1/classes.rb', line 1778

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)


1784
1785
1786
# File 'lib/google/apis/apigee_v1/classes.rb', line 1784

def updated_at
  @updated_at
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1791
1792
1793
1794
1795
1796
1797
1798
# File 'lib/google/apis/apigee_v1/classes.rb', line 1791

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