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.



2061
2062
2063
# File 'generated/google/apis/apigee_v1/classes.rb', line 2061

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

Instance Attribute Details

#create_timeString

The time at which this environment config was created. Corresponds to the JSON property createTime

Returns:

  • (String)


1992
1993
1994
# File 'generated/google/apis/apigee_v1/classes.rb', line 1992

def create_time
  @create_time
end

#debug_maskGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask

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



1997
1998
1999
# File 'generated/google/apis/apigee_v1/classes.rb', line 1997

def debug_mask
  @debug_mask
end

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

A list of deployments in the environment Corresponds to the JSON property deployments



2002
2003
2004
# File 'generated/google/apis/apigee_v1/classes.rb', line 2002

def deployments
  @deployments
end

#feature_flagsHash<String,String>

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

Returns:

  • (Hash<String,String>)


2007
2008
2009
# File 'generated/google/apis/apigee_v1/classes.rb', line 2007

def feature_flags
  @feature_flags
end

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

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



2012
2013
2014
# File 'generated/google/apis/apigee_v1/classes.rb', line 2012

def flowhooks
  @flowhooks
end

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

A list of keystores in the environment. Corresponds to the JSON property keystores



2017
2018
2019
# File 'generated/google/apis/apigee_v1/classes.rb', line 2017

def keystores
  @keystores
end

#nameString

The name of the environment config. Must be of the form 'organizations/org/environments/env/configs/config_id Corresponds to the JSON property name

Returns:

  • (String)


2023
2024
2025
# File 'generated/google/apis/apigee_v1/classes.rb', line 2023

def name
  @name
end

#providerString

This field can be used by the control plane to add some context information about itself. This information could help detect the source of the document during diagnostics and debugging. Corresponds to the JSON property provider

Returns:

  • (String)


2030
2031
2032
# File 'generated/google/apis/apigee_v1/classes.rb', line 2030

def provider
  @provider
end

#pubsub_topicString

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

Returns:

  • (String)


2035
2036
2037
# File 'generated/google/apis/apigee_v1/classes.rb', line 2035

def pubsub_topic
  @pubsub_topic
end

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

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



2040
2041
2042
# File 'generated/google/apis/apigee_v1/classes.rb', line 2040

def resource_references
  @resource_references
end

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

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



2045
2046
2047
# File 'generated/google/apis/apigee_v1/classes.rb', line 2045

def resources
  @resources
end

#sequence_numberFixnum

A sequence number that defines an ordering on environment configs. No two configs under an environment will ever have the same sequence number. A higher sequence number means that the config was deployed more recently than one with a lower sequence number. Corresponds to the JSON property sequenceNumber

Returns:

  • (Fixnum)


2053
2054
2055
# File 'generated/google/apis/apigee_v1/classes.rb', line 2053

def sequence_number
  @sequence_number
end

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

A list of target servers in the environment. Disabled target servers are not included. Corresponds to the JSON property targets



2059
2060
2061
# File 'generated/google/apis/apigee_v1/classes.rb', line 2059

def targets
  @targets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
# File 'generated/google/apis/apigee_v1/classes.rb', line 2066

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @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)
  @sequence_number = args[:sequence_number] if args.key?(:sequence_number)
  @targets = args[:targets] if args.key?(:targets)
end