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.



1161
1162
1163
# File 'lib/google/apis/apigee_v1/classes.rb', line 1161

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)


1124
1125
1126
# File 'lib/google/apis/apigee_v1/classes.rb', line 1124

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)


1130
1131
1132
# File 'lib/google/apis/apigee_v1/classes.rb', line 1130

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


1141
1142
1143
# File 'lib/google/apis/apigee_v1/classes.rb', line 1141

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)


1147
1148
1149
# File 'lib/google/apis/apigee_v1/classes.rb', line 1147

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)


1153
1154
1155
# File 'lib/google/apis/apigee_v1/classes.rb', line 1153

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)


1159
1160
1161
# File 'lib/google/apis/apigee_v1/classes.rb', line 1159

def updated_at
  @updated_at
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1166
1167
1168
1169
1170
1171
1172
1173
# File 'lib/google/apis/apigee_v1/classes.rb', line 1166

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