Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1Environment

Returns a new instance of GoogleCloudApigeeV1Environment.



4346
4347
4348
# File 'lib/google/apis/apigee_v1/classes.rb', line 4346

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

Instance Attribute Details

#api_proxy_typeString

Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed. Corresponds to the JSON property apiProxyType

Returns:

  • (String)


4265
4266
4267
# File 'lib/google/apis/apigee_v1/classes.rb', line 4265

def api_proxy_type
  @api_proxy_type
end

#created_atFixnum

Output only. Creation time of this environment as milliseconds since epoch. Corresponds to the JSON property createdAt

Returns:

  • (Fixnum)


4270
4271
4272
# File 'lib/google/apis/apigee_v1/classes.rb', line 4270

def created_at
  @created_at
end

#deployment_typeString

Optional. Deployment type supported by the environment. The deployment type can be set when creating the environment and cannot be changed. When you enable archive deployment, you will be prevented from performing a subset of actions within the environment, including: * Managing the deployment of API proxy or shared flow revisions * Creating, updating, or deleting resource files * Creating, updating, or deleting target servers Corresponds to the JSON property deploymentType

Returns:

  • (String)


4281
4282
4283
# File 'lib/google/apis/apigee_v1/classes.rb', line 4281

def deployment_type
  @deployment_type
end

#descriptionString

Optional. Description of the environment. Corresponds to the JSON property description

Returns:

  • (String)


4286
4287
4288
# File 'lib/google/apis/apigee_v1/classes.rb', line 4286

def description
  @description
end

#display_nameString

Optional. Display name for this environment. Corresponds to the JSON property displayName

Returns:

  • (String)


4291
4292
4293
# File 'lib/google/apis/apigee_v1/classes.rb', line 4291

def display_name
  @display_name
end

#forward_proxy_uriString

Optional. URI of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of scheme://hostname:port. Note that the scheme must be one of "http" or "https", and the port must be supplied. To remove a forward proxy setting, update the field to an empty value. Note: At this time, PUT operations to add forwardProxyUri to an existing environment fail if the environment has nodeConfig set up. To successfully add the forwardProxyUri setting in this case, include the NodeConfig details with the request. Corresponds to the JSON property forwardProxyUri

Returns:

  • (String)


4303
4304
4305
# File 'lib/google/apis/apigee_v1/classes.rb', line 4303

def forward_proxy_uri
  @forward_proxy_uri
end

#has_attached_flow_hooksBoolean Also known as: has_attached_flow_hooks?

Corresponds to the JSON property hasAttachedFlowHooks

Returns:

  • (Boolean)


4308
4309
4310
# File 'lib/google/apis/apigee_v1/classes.rb', line 4308

def has_attached_flow_hooks
  @has_attached_flow_hooks
end

#last_modified_atFixnum

Output only. Last modification time of this environment as milliseconds since epoch. Corresponds to the JSON property lastModifiedAt

Returns:

  • (Fixnum)


4315
4316
4317
# File 'lib/google/apis/apigee_v1/classes.rb', line 4315

def last_modified_at
  @last_modified_at
end

#nameString

Required. Name of the environment. Values must match the regular expression ^[ .\\pAlnum-_]1,255$ Corresponds to the JSON property name

Returns:

  • (String)


4321
4322
4323
# File 'lib/google/apis/apigee_v1/classes.rb', line 4321

def name
  @name
end

#node_configGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1NodeConfig

NodeConfig for setting the min/max number of nodes associated with the environment. Corresponds to the JSON property nodeConfig



4327
4328
4329
# File 'lib/google/apis/apigee_v1/classes.rb', line 4327

def node_config
  @node_config
end

#propertiesGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1Properties

Message for compatibility with legacy Edge specification for Java Properties object in JSON. Corresponds to the JSON property properties



4333
4334
4335
# File 'lib/google/apis/apigee_v1/classes.rb', line 4333

def properties
  @properties
end

#stateString

Output only. State of the environment. Values other than ACTIVE means the resource is not ready to use. Corresponds to the JSON property state

Returns:

  • (String)


4339
4340
4341
# File 'lib/google/apis/apigee_v1/classes.rb', line 4339

def state
  @state
end

#typeString

Optional. EnvironmentType selected for the environment. Corresponds to the JSON property type

Returns:

  • (String)


4344
4345
4346
# File 'lib/google/apis/apigee_v1/classes.rb', line 4344

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
# File 'lib/google/apis/apigee_v1/classes.rb', line 4351

def update!(**args)
  @api_proxy_type = args[:api_proxy_type] if args.key?(:api_proxy_type)
  @created_at = args[:created_at] if args.key?(:created_at)
  @deployment_type = args[:deployment_type] if args.key?(:deployment_type)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @forward_proxy_uri = args[:forward_proxy_uri] if args.key?(:forward_proxy_uri)
  @has_attached_flow_hooks = args[:has_attached_flow_hooks] if args.key?(:has_attached_flow_hooks)
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
  @name = args[:name] if args.key?(:name)
  @node_config = args[:node_config] if args.key?(:node_config)
  @properties = args[:properties] if args.key?(:properties)
  @state = args[:state] if args.key?(:state)
  @type = args[:type] if args.key?(:type)
end