Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentConfig

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1EnvironmentConfig

Returns a new instance of GoogleCloudApigeeV1EnvironmentConfig.


2359
2360
2361
# File 'generated/google/apis/apigee_v1/classes.rb', line 2359

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

Instance Attribute Details

#create_timeString

Time that the environment configuration was created. Corresponds to the JSON property createTime

Returns:

  • (String)

2277
2278
2279
# File 'generated/google/apis/apigee_v1/classes.rb', line 2277

def create_time
  @create_time
end

#data_collectorsArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollectorConfig>

List of data collectors used by the deployments in the environment. Corresponds to the JSON property dataCollectors


2282
2283
2284
# File 'generated/google/apis/apigee_v1/classes.rb', line 2282

def data_collectors
  @data_collectors
end

#debug_maskGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask

Debug mask that applies to all deployments in the environment. Corresponds to the JSON property debugMask


2287
2288
2289
# File 'generated/google/apis/apigee_v1/classes.rb', line 2287

def debug_mask
  @debug_mask
end

#deploymentsArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentConfig>

List of deployments in the environment. Corresponds to the JSON property deployments


2292
2293
2294
# File 'generated/google/apis/apigee_v1/classes.rb', line 2292

def deployments
  @deployments
end

#feature_flagsHash<String,String>

Feature flags inherited from the organization and environment. Corresponds to the JSON property featureFlags

Returns:

  • (Hash<String,String>)

2297
2298
2299
# File 'generated/google/apis/apigee_v1/classes.rb', line 2297

def feature_flags
  @feature_flags
end

#flowhooksArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig>

List of flow hooks in the environment. Corresponds to the JSON property flowhooks


2302
2303
2304
# File 'generated/google/apis/apigee_v1/classes.rb', line 2302

def flowhooks
  @flowhooks
end

#keystoresArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeystoreConfig>

List of keystores in the environment. Corresponds to the JSON property keystores


2307
2308
2309
# File 'generated/google/apis/apigee_v1/classes.rb', line 2307

def keystores
  @keystores
end

#nameString

Name of the environment configuration in the following format: organizations/ org/environments/env/configs/config` Corresponds to the JSON propertyname`

Returns:

  • (String)

2313
2314
2315
# File 'generated/google/apis/apigee_v1/classes.rb', line 2313

def name
  @name
end

#providerString

Used by the Control plane to add context information to help detect the source of the document during diagnostics and debugging. Corresponds to the JSON property provider

Returns:

  • (String)

2319
2320
2321
# File 'generated/google/apis/apigee_v1/classes.rb', line 2319

def provider
  @provider
end

#pubsub_topicString

Name of the PubSub topic for the environment. Corresponds to the JSON property pubsubTopic

Returns:

  • (String)

2324
2325
2326
# File 'generated/google/apis/apigee_v1/classes.rb', line 2324

def pubsub_topic
  @pubsub_topic
end

#resource_referencesArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReferenceConfig>

List of resource references in the environment. Corresponds to the JSON property resourceReferences


2329
2330
2331
# File 'generated/google/apis/apigee_v1/classes.rb', line 2329

def resource_references
  @resource_references
end

#resourcesArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceConfig>

List of resource versions in the environment. Corresponds to the JSON property resources


2334
2335
2336
# File 'generated/google/apis/apigee_v1/classes.rb', line 2334

def resources
  @resources
end

#revision_idFixnum

Revision ID of the environment configuration. The higher the value, the more recently the configuration was deployed. Corresponds to the JSON property revisionId

Returns:

  • (Fixnum)

2340
2341
2342
# File 'generated/google/apis/apigee_v1/classes.rb', line 2340

def revision_id
  @revision_id
end

#sequence_numberFixnum

DEPRECATED: Use revision_id. Corresponds to the JSON property sequenceNumber

Returns:

  • (Fixnum)

2345
2346
2347
# File 'generated/google/apis/apigee_v1/classes.rb', line 2345

def sequence_number
  @sequence_number
end

#targetsArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig>

List of target servers in the environment. Disabled target servers are not displayed. Corresponds to the JSON property targets


2351
2352
2353
# File 'generated/google/apis/apigee_v1/classes.rb', line 2351

def targets
  @targets
end

#uidString

Unique ID for the environment configuration. The ID will only change if the environment is deleted and recreated. Corresponds to the JSON property uid

Returns:

  • (String)

2357
2358
2359
# File 'generated/google/apis/apigee_v1/classes.rb', line 2357

def uid
  @uid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
# File 'generated/google/apis/apigee_v1/classes.rb', line 2364

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @data_collectors = args[:data_collectors] if args.key?(:data_collectors)
  @debug_mask = args[:debug_mask] if args.key?(:debug_mask)
  @deployments = args[:deployments] if args.key?(:deployments)
  @feature_flags = args[:feature_flags] if args.key?(:feature_flags)
  @flowhooks = args[:flowhooks] if args.key?(:flowhooks)
  @keystores = args[:keystores] if args.key?(:keystores)
  @name = args[:name] if args.key?(:name)
  @provider = args[:provider] if args.key?(:provider)
  @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
  @resource_references = args[:resource_references] if args.key?(:resource_references)
  @resources = args[:resources] if args.key?(:resources)
  @revision_id = args[:revision_id] if args.key?(:revision_id)
  @sequence_number = args[:sequence_number] if args.key?(:sequence_number)
  @targets = args[:targets] if args.key?(:targets)
  @uid = args[:uid] if args.key?(:uid)
end