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.



5407
5408
5409
# File 'lib/google/apis/apigee_v1/classes.rb', line 5407

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

Instance Attribute Details

#addons_configGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig

Add-on configurations for the Apigee organization. Corresponds to the JSON property addonsConfig



5261
5262
5263
# File 'lib/google/apis/apigee_v1/classes.rb', line 5261

def addons_config
  @addons_config
end

#analytics_regionString

Required. DEPRECATED: This field will be deprecated once Apigee supports DRZ. Primary GCP region for analytics data storage. For valid values, see Create an Apigee organization. Corresponds to the JSON property analyticsRegion

Returns:

  • (String)


5269
5270
5271
# File 'lib/google/apis/apigee_v1/classes.rb', line 5269

def analytics_region
  @analytics_region
end

#apigee_project_idString

Output only. Apigee Project ID associated with the organization. Use this project to allowlist Apigee in the Service Attachment when using private service connect with Apigee. Corresponds to the JSON property apigeeProjectId

Returns:

  • (String)


5276
5277
5278
# File 'lib/google/apis/apigee_v1/classes.rb', line 5276

def apigee_project_id
  @apigee_project_id
end

#attributesArray<String>

Not used by Apigee. Corresponds to the JSON property attributes

Returns:

  • (Array<String>)


5281
5282
5283
# File 'lib/google/apis/apigee_v1/classes.rb', line 5281

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 must be set before the creation of a runtime instance and can be updated only when there are no runtime instances. For example: default. Apigee also supports shared VPC (that is, the host network project is not the same as the one that is peering with Apigee). See Shared VPC overview. To use a shared VPC network, use the following format: projects/host-project-id/region/networks/network-name` . For example:projects/my-sharedvpc-host/global/networks/mynetwork**Note:** Not supported for Apigee hybrid. Corresponds to the JSON propertyauthorizedNetwork`

Returns:

  • (String)


5297
5298
5299
# File 'lib/google/apis/apigee_v1/classes.rb', line 5297

def authorized_network
  @authorized_network
end

#billing_typeString

Billing type of the Apigee organization. See Apigee pricing. Corresponds to the JSON property billingType

Returns:

  • (String)


5303
5304
5305
# File 'lib/google/apis/apigee_v1/classes.rb', line 5303

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


5310
5311
5312
# File 'lib/google/apis/apigee_v1/classes.rb', line 5310

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)


5316
5317
5318
# File 'lib/google/apis/apigee_v1/classes.rb', line 5316

def created_at
  @created_at
end

#customer_nameString

Not used by Apigee. Corresponds to the JSON property customerName

Returns:

  • (String)


5321
5322
5323
# File 'lib/google/apis/apigee_v1/classes.rb', line 5321

def customer_name
  @customer_name
end

#descriptionString

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

Returns:

  • (String)


5326
5327
5328
# File 'lib/google/apis/apigee_v1/classes.rb', line 5326

def description
  @description
end

#display_nameString

Display name for the Apigee organization. Unused, but reserved for future use. Corresponds to the JSON property displayName

Returns:

  • (String)


5331
5332
5333
# File 'lib/google/apis/apigee_v1/classes.rb', line 5331

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


5336
5337
5338
# File 'lib/google/apis/apigee_v1/classes.rb', line 5336

def environments
  @environments
end

#expires_atFixnum

Output only. Time that the Apigee organization is scheduled for deletion. Corresponds to the JSON property expiresAt

Returns:

  • (Fixnum)


5341
5342
5343
# File 'lib/google/apis/apigee_v1/classes.rb', line 5341

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


5347
5348
5349
# File 'lib/google/apis/apigee_v1/classes.rb', line 5347

def last_modified_at
  @last_modified_at
end

#nameString

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

Returns:

  • (String)


5352
5353
5354
# File 'lib/google/apis/apigee_v1/classes.rb', line 5352

def name
  @name
end

#portal_disabledBoolean Also known as: portal_disabled?

Configuration for the Portals settings. Corresponds to the JSON property portalDisabled

Returns:

  • (Boolean)


5357
5358
5359
# File 'lib/google/apis/apigee_v1/classes.rb', line 5357

def portal_disabled
  @portal_disabled
end

#project_idString

Output only. Project ID associated with the Apigee organization. Corresponds to the JSON property projectId

Returns:

  • (String)


5363
5364
5365
# File 'lib/google/apis/apigee_v1/classes.rb', line 5363

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



5369
5370
5371
# File 'lib/google/apis/apigee_v1/classes.rb', line 5369

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. Required when RuntimeType is CLOUD. If not specified when RuntimeType is TRIAL, a Google-Managed encryption key will be used. For example: "projects/foo/locations/us/keyRings/ bar/cryptoKeys/baz". Note: Not supported for Apigee hybrid. Corresponds to the JSON property runtimeDatabaseEncryptionKeyName

Returns:

  • (String)


5379
5380
5381
# File 'lib/google/apis/apigee_v1/classes.rb', line 5379

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)


5385
5386
5387
# File 'lib/google/apis/apigee_v1/classes.rb', line 5385

def runtime_type
  @runtime_type
end

#stateString

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

Returns:

  • (String)


5391
5392
5393
# File 'lib/google/apis/apigee_v1/classes.rb', line 5391

def state
  @state
end

#subscription_typeString

Output only. DEPRECATED: This will eventually be replaced by BillingType. 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)


5400
5401
5402
# File 'lib/google/apis/apigee_v1/classes.rb', line 5400

def subscription_type
  @subscription_type
end

#typeString

Not used by Apigee. Corresponds to the JSON property type

Returns:

  • (String)


5405
5406
5407
# File 'lib/google/apis/apigee_v1/classes.rb', line 5405

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
# File 'lib/google/apis/apigee_v1/classes.rb', line 5412

def update!(**args)
  @addons_config = args[:addons_config] if args.key?(:addons_config)
  @analytics_region = args[:analytics_region] if args.key?(:analytics_region)
  @apigee_project_id = args[:apigee_project_id] if args.key?(:apigee_project_id)
  @attributes = args[:attributes] if args.key?(:attributes)
  @authorized_network = args[:authorized_network] if args.key?(:authorized_network)
  @billing_type = args[:billing_type] if args.key?(:billing_type)
  @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)
  @expires_at = args[:expires_at] if args.key?(:expires_at)
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
  @name = args[:name] if args.key?(:name)
  @portal_disabled = args[:portal_disabled] if args.key?(:portal_disabled)
  @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)
  @state = args[:state] if args.key?(:state)
  @subscription_type = args[:subscription_type] if args.key?(:subscription_type)
  @type = args[:type] if args.key?(:type)
end