Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Organization

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

Returns a new instance of GoogleCloudApigeeV1Organization.



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

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

Instance Attribute Details

#analytics_regionString

Required. Primary GCP region for analytics data storage. For valid values, see Create an Apigee organization. Corresponds to the JSON property analyticsRegion

Returns:

  • (String)


4220
4221
4222
# File 'lib/google/apis/apigee_v1/classes.rb', line 4220

def analytics_region
  @analytics_region
end

#attributesArray<String>

Not used by Apigee. Corresponds to the JSON property attributes

Returns:

  • (Array<String>)


4225
4226
4227
# File 'lib/google/apis/apigee_v1/classes.rb', line 4225

def attributes
  @attributes
end

#authorized_networkString

Compute Engine network used for Service Networking to be peered with Apigee runtime instances. See Getting started with the Service Networking API. Valid only when [RuntimeType] is set to CLOUD. The value can be updated only when there are no runtime instances. For example: "default". ** Note:** Not supported for Apigee hybrid. Corresponds to the JSON property authorizedNetwork

Returns:

  • (String)


4235
4236
4237
# File 'lib/google/apis/apigee_v1/classes.rb', line 4235

def authorized_network
  @authorized_network
end

#ca_certificateString

Output only. Base64-encoded public certificate for the root CA of the Apigee organization. Valid only when [RuntimeType] is CLOUD. Corresponds to the JSON property caCertificate NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


4242
4243
4244
# File 'lib/google/apis/apigee_v1/classes.rb', line 4242

def ca_certificate
  @ca_certificate
end

#created_atFixnum

Output only. Time that the Apigee organization was created in milliseconds since epoch. Corresponds to the JSON property createdAt

Returns:

  • (Fixnum)


4248
4249
4250
# File 'lib/google/apis/apigee_v1/classes.rb', line 4248

def created_at
  @created_at
end

#customer_nameString

Not used by Apigee. Corresponds to the JSON property customerName

Returns:

  • (String)


4253
4254
4255
# File 'lib/google/apis/apigee_v1/classes.rb', line 4253

def customer_name
  @customer_name
end

#descriptionString

Description of the Apigee organization. Corresponds to the JSON property description

Returns:

  • (String)


4258
4259
4260
# File 'lib/google/apis/apigee_v1/classes.rb', line 4258

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


4263
4264
4265
# File 'lib/google/apis/apigee_v1/classes.rb', line 4263

def display_name
  @display_name
end

#environmentsArray<String>

Output only. List of environments in the Apigee organization. Corresponds to the JSON property environments

Returns:

  • (Array<String>)


4268
4269
4270
# File 'lib/google/apis/apigee_v1/classes.rb', line 4268

def environments
  @environments
end

#last_modified_atFixnum

Output only. Time that the Apigee organization was last modified in milliseconds since epoch. Corresponds to the JSON property lastModifiedAt

Returns:

  • (Fixnum)


4274
4275
4276
# File 'lib/google/apis/apigee_v1/classes.rb', line 4274

def last_modified_at
  @last_modified_at
end

#nameString

Output only. Name of the Apigee organization. Corresponds to the JSON property name

Returns:

  • (String)


4279
4280
4281
# File 'lib/google/apis/apigee_v1/classes.rb', line 4279

def name
  @name
end

#project_idString

The project ID associated with the Apigee organization. Corresponds to the JSON property projectId

Returns:

  • (String)


4284
4285
4286
# File 'lib/google/apis/apigee_v1/classes.rb', line 4284

def project_id
  @project_id
end

#propertiesGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1Properties

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



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

def properties
  @properties
end

#runtime_database_encryption_key_nameString

Cloud KMS key name used for encrypting the data that is stored and replicated across runtime instances. Update is not allowed after the organization is created. If not specified, a Google-Managed encryption key will be used. Valid only when [RuntimeType] is CLOUD. For example: "projects/foo/locations/us/ keyRings/bar/cryptoKeys/baz". Note: Not supported for Apigee hybrid. Corresponds to the JSON property runtimeDatabaseEncryptionKeyName

Returns:

  • (String)


4299
4300
4301
# File 'lib/google/apis/apigee_v1/classes.rb', line 4299

def runtime_database_encryption_key_name
  @runtime_database_encryption_key_name
end

#runtime_typeString

Required. Runtime type of the Apigee organization based on the Apigee subscription purchased. Corresponds to the JSON property runtimeType

Returns:

  • (String)


4305
4306
4307
# File 'lib/google/apis/apigee_v1/classes.rb', line 4305

def runtime_type
  @runtime_type
end

#subscription_typeString

Output only. Subscription type of the Apigee organization. Valid values include trial (free, limited, and for evaluation purposes only) or paid (full subscription has been purchased). See Apigee pricing. Corresponds to the JSON property subscriptionType

Returns:

  • (String)


4313
4314
4315
# File 'lib/google/apis/apigee_v1/classes.rb', line 4313

def subscription_type
  @subscription_type
end

#typeString

Not used by Apigee. Corresponds to the JSON property type

Returns:

  • (String)


4318
4319
4320
# File 'lib/google/apis/apigee_v1/classes.rb', line 4318

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
# File 'lib/google/apis/apigee_v1/classes.rb', line 4325

def update!(**args)
  @analytics_region = args[:analytics_region] if args.key?(:analytics_region)
  @attributes = args[:attributes] if args.key?(:attributes)
  @authorized_network = args[:authorized_network] if args.key?(:authorized_network)
  @ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate)
  @created_at = args[:created_at] if args.key?(:created_at)
  @customer_name = args[:customer_name] if args.key?(:customer_name)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @environments = args[:environments] if args.key?(:environments)
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
  @name = args[:name] if args.key?(:name)
  @project_id = args[:project_id] if args.key?(:project_id)
  @properties = args[:properties] if args.key?(:properties)
  @runtime_database_encryption_key_name = args[:runtime_database_encryption_key_name] if args.key?(:runtime_database_encryption_key_name)
  @runtime_type = args[:runtime_type] if args.key?(:runtime_type)
  @subscription_type = args[:subscription_type] if args.key?(:subscription_type)
  @type = args[:type] if args.key?(:type)
end