Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance
- 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
Apigee runtime instance.
Instance Attribute Summary collapse
-
#created_at ⇒ Fixnum
Output only.
-
#description ⇒ String
Optional.
-
#disk_encryption_key_name ⇒ String
Customer Managed Encryption Key (CMEK) used for disk and volume encryption.
-
#display_name ⇒ String
Optional.
-
#host ⇒ String
Output only.
-
#last_modified_at ⇒ Fixnum
Output only.
-
#location ⇒ String
Required.
-
#name ⇒ String
Required.
-
#port ⇒ String
Output only.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1Instance
constructor
A new instance of GoogleCloudApigeeV1Instance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1Instance
Returns a new instance of GoogleCloudApigeeV1Instance.
3156 3157 3158 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 3156 def initialize(**args) update!(**args) end |
Instance Attribute Details
#created_at ⇒ Fixnum
Output only. Time the instance was created in milliseconds since epoch.
Corresponds to the JSON property createdAt
3104 3105 3106 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 3104 def created_at @created_at end |
#description ⇒ String
Optional. Description of the instance.
Corresponds to the JSON property description
3109 3110 3111 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 3109 def description @description end |
#disk_encryption_key_name ⇒ String
Customer Managed Encryption Key (CMEK) used for disk and volume encryption.
Required for Apigee paid subscriptions only. Use the following format:
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
Corresponds to the JSON property diskEncryptionKeyName
3116 3117 3118 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 3116 def disk_encryption_key_name @disk_encryption_key_name end |
#display_name ⇒ String
Optional. Display name for the instance.
Corresponds to the JSON property displayName
3121 3122 3123 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 3121 def display_name @display_name end |
#host ⇒ String
Output only. Hostname or IP address of the exposed Apigee endpoint used by
clients to connect to the service.
Corresponds to the JSON property host
3127 3128 3129 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 3127 def host @host end |
#last_modified_at ⇒ Fixnum
Output only. Time the instance was last modified in milliseconds since epoch.
Corresponds to the JSON property lastModifiedAt
3132 3133 3134 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 3132 def last_modified_at @last_modified_at end |
#location ⇒ String
Required. Compute Engine location where the instance resides.
Corresponds to the JSON property location
3137 3138 3139 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 3137 def location @location end |
#name ⇒ String
Required. Resource ID of the instance. Values must match the regular
expression ^a-z
0,30[a-z\d]$
.
Corresponds to the JSON property name
3143 3144 3145 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 3143 def name @name end |
#port ⇒ String
Output only. Port number of the exposed Apigee endpoint.
Corresponds to the JSON property port
3148 3149 3150 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 3148 def port @port end |
#state ⇒ String
Output only. State of the instance. Values other than ACTIVE means the
resource is not ready to use.
Corresponds to the JSON property state
3154 3155 3156 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 3154 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 3161 def update!(**args) @created_at = args[:created_at] if args.key?(:created_at) @description = args[:description] if args.key?(:description) @disk_encryption_key_name = args[:disk_encryption_key_name] if args.key?(:disk_encryption_key_name) @display_name = args[:display_name] if args.key?(:display_name) @host = args[:host] if args.key?(:host) @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) @port = args[:port] if args.key?(:port) @state = args[:state] if args.key?(:state) end |