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

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

Returns a new instance of GoogleCloudApigeeV1EnvironmentConfig.



3097
3098
3099
# File 'lib/google/apis/apigee_v1/classes.rb', line 3097

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

Instance Attribute Details

#arc_config_locationString

The location for the config blob of API Runtime Control, aka Envoy Adapter, for op-based authentication as a URI, e.g. a Cloud Storage URI. This is only used by Envoy-based gateways. Corresponds to the JSON property arcConfigLocation

Returns:

  • (String)


2998
2999
3000
# File 'lib/google/apis/apigee_v1/classes.rb', line 2998

def arc_config_location
  @arc_config_location
end

#create_timeString

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

Returns:

  • (String)


3003
3004
3005
# File 'lib/google/apis/apigee_v1/classes.rb', line 3003

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



3008
3009
3010
# File 'lib/google/apis/apigee_v1/classes.rb', line 3008

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



3013
3014
3015
# File 'lib/google/apis/apigee_v1/classes.rb', line 3013

def debug_mask
  @debug_mask
end

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

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



3018
3019
3020
# File 'lib/google/apis/apigee_v1/classes.rb', line 3018

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


3023
3024
3025
# File 'lib/google/apis/apigee_v1/classes.rb', line 3023

def feature_flags
  @feature_flags
end

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

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



3028
3029
3030
# File 'lib/google/apis/apigee_v1/classes.rb', line 3028

def flowhooks
  @flowhooks
end

#gateway_config_locationString

The location for the gateway config blob as a URI, e.g. a Cloud Storage URI. This is only used by Envoy-based gateways. Corresponds to the JSON property gatewayConfigLocation

Returns:

  • (String)


3034
3035
3036
# File 'lib/google/apis/apigee_v1/classes.rb', line 3034

def gateway_config_location
  @gateway_config_location
end

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

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



3039
3040
3041
# File 'lib/google/apis/apigee_v1/classes.rb', line 3039

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)


3045
3046
3047
# File 'lib/google/apis/apigee_v1/classes.rb', line 3045

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)


3051
3052
3053
# File 'lib/google/apis/apigee_v1/classes.rb', line 3051

def provider
  @provider
end

#pubsub_topicString

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

Returns:

  • (String)


3056
3057
3058
# File 'lib/google/apis/apigee_v1/classes.rb', line 3056

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



3061
3062
3063
# File 'lib/google/apis/apigee_v1/classes.rb', line 3061

def resource_references
  @resource_references
end

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

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



3066
3067
3068
# File 'lib/google/apis/apigee_v1/classes.rb', line 3066

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)


3072
3073
3074
# File 'lib/google/apis/apigee_v1/classes.rb', line 3072

def revision_id
  @revision_id
end

#sequence_numberFixnum

DEPRECATED: Use revision_id. Corresponds to the JSON property sequenceNumber

Returns:

  • (Fixnum)


3077
3078
3079
# File 'lib/google/apis/apigee_v1/classes.rb', line 3077

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



3083
3084
3085
# File 'lib/google/apis/apigee_v1/classes.rb', line 3083

def targets
  @targets
end

#trace_configGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfig

NEXT ID: 8 RuntimeTraceConfig defines the configurations for distributed trace in an environment. Corresponds to the JSON property traceConfig



3089
3090
3091
# File 'lib/google/apis/apigee_v1/classes.rb', line 3089

def trace_config
  @trace_config
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)


3095
3096
3097
# File 'lib/google/apis/apigee_v1/classes.rb', line 3095

def uid
  @uid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
# File 'lib/google/apis/apigee_v1/classes.rb', line 3102

def update!(**args)
  @arc_config_location = args[:arc_config_location] if args.key?(:arc_config_location)
  @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)
  @gateway_config_location = args[:gateway_config_location] if args.key?(:gateway_config_location)
  @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)
  @trace_config = args[:trace_config] if args.key?(:trace_config)
  @uid = args[:uid] if args.key?(:uid)
end