Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Organization
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1Organization
- 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
-
#addons_config ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig
Add-on configurations for the Apigee organization.
-
#analytics_region ⇒ String
Required.
-
#api_consumer_data_encryption_key_name ⇒ String
Cloud KMS key name used for encrypting API consumer data.
-
#api_consumer_data_location ⇒ String
This field is needed only for customers with control plane in US or EU.
-
#apigee_project_id ⇒ String
Output only.
-
#attributes ⇒ Array<String>
Not used by Apigee.
-
#authorized_network ⇒ String
Compute Engine network used for Service Networking to be peered with Apigee runtime instances.
-
#billing_type ⇒ String
Billing type of the Apigee organization.
-
#ca_certificate ⇒ String
Output only.
-
#control_plane_encryption_key_name ⇒ String
Cloud KMS key name used for encrypting control plane data that is stored in a multi region.
-
#created_at ⇒ Fixnum
Output only.
-
#customer_name ⇒ String
Not used by Apigee.
-
#description ⇒ String
Description of the Apigee organization.
-
#disable_vpc_peering ⇒ Boolean
(also: #disable_vpc_peering?)
Optional.
-
#display_name ⇒ String
Display name for the Apigee organization.
-
#environments ⇒ Array<String>
Output only.
-
#expires_at ⇒ Fixnum
Output only.
-
#last_modified_at ⇒ Fixnum
Output only.
-
#name ⇒ String
Output only.
-
#portal_disabled ⇒ Boolean
(also: #portal_disabled?)
Configuration for the Portals settings.
-
#project_id ⇒ String
Output only.
-
#properties ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties
Message for compatibility with legacy Edge specification for Java Properties object in JSON.
-
#runtime_database_encryption_key_name ⇒ String
Cloud KMS key name used for encrypting the data that is stored and replicated across runtime instances.
-
#runtime_type ⇒ String
Required.
-
#state ⇒ String
Output only.
-
#subscription_type ⇒ String
Output only.
-
#type ⇒ String
Not used by Apigee.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1Organization
constructor
A new instance of GoogleCloudApigeeV1Organization.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1Organization
Returns a new instance of GoogleCloudApigeeV1Organization.
6500 6501 6502 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6500 def initialize(**args) update!(**args) end |
Instance Attribute Details
#addons_config ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig
Add-on configurations for the Apigee organization.
Corresponds to the JSON property addonsConfig
6314 6315 6316 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6314 def addons_config @addons_config end |
#analytics_region ⇒ String
Required. DEPRECATED: This field will eventually be deprecated and replaced
with a differently-named field. Primary Google Cloud region for analytics data
storage. For valid values, see Create an Apigee organization.
Corresponds to the JSON property analyticsRegion
6322 6323 6324 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6322 def analytics_region @analytics_region end |
#api_consumer_data_encryption_key_name ⇒ String
Cloud KMS key name used for encrypting API consumer data. Required for US/EU
regions when BillingType is SUBSCRIPTION. When [BillingType](
BillingType) is EVALUATION or the region is not US/EU, a Google-Managed
encryption key will be used. Format: projects/*/locations/*/keyRings/*/
cryptoKeys/*
Corresponds to the JSON property apiConsumerDataEncryptionKeyName
6331 6332 6333 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6331 def api_consumer_data_encryption_key_name @api_consumer_data_encryption_key_name end |
#api_consumer_data_location ⇒ String
This field is needed only for customers with control plane in US or EU. Apigee
stores some control plane data only in single region. This field determines
which single region Apigee should use. For example: "us-west1" when control
plane is in US or "europe-west2" when control plane is in EU.
Corresponds to the JSON property apiConsumerDataLocation
6339 6340 6341 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6339 def api_consumer_data_location @api_consumer_data_location end |
#apigee_project_id ⇒ String
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
6346 6347 6348 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6346 def apigee_project_id @apigee_project_id end |
#attributes ⇒ Array<String>
Not used by Apigee.
Corresponds to the JSON property attributes
6351 6352 6353 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6351 def attributes @attributes end |
#authorized_network ⇒ String
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`
6367 6368 6369 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6367 def @authorized_network end |
#billing_type ⇒ String
Billing type of the Apigee organization. See Apigee pricing.
Corresponds to the JSON property billingType
6373 6374 6375 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6373 def billing_type @billing_type end |
#ca_certificate ⇒ String
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.
6380 6381 6382 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6380 def ca_certificate @ca_certificate end |
#control_plane_encryption_key_name ⇒ String
Cloud KMS key name used for encrypting control plane data that is stored in a
multi region. Required when BillingType is SUBSCRIPTION.
When BillingType is EVALUATION, a Google-Managed encryption
key will be used. Format: projects/*/locations/*/keyRings/*/cryptoKeys/*
Corresponds to the JSON property controlPlaneEncryptionKeyName
6388 6389 6390 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6388 def control_plane_encryption_key_name @control_plane_encryption_key_name end |
#created_at ⇒ Fixnum
Output only. Time that the Apigee organization was created in milliseconds
since epoch.
Corresponds to the JSON property createdAt
6394 6395 6396 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6394 def created_at @created_at end |
#customer_name ⇒ String
Not used by Apigee.
Corresponds to the JSON property customerName
6399 6400 6401 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6399 def customer_name @customer_name end |
#description ⇒ String
Description of the Apigee organization.
Corresponds to the JSON property description
6404 6405 6406 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6404 def description @description end |
#disable_vpc_peering ⇒ Boolean Also known as: disable_vpc_peering?
Optional. Flag that specifies whether the VPC Peering through Private Google
Access should be disabled between the consumer network and Apigee. Valid only
when RuntimeType is set to CLOUD. Required if an authorizedNetwork on the
consumer project is not provided, in which case the flag should be set to true.
The value must be set before the creation of any Apigee runtime instance and
can be updated only when there are no runtime instances. Note: Apigee will
be deprecating the vpc peering model that requires you to provide '
authorizedNetwork', by making the non-peering model as the default way of
provisioning Apigee organization in future. So, this will be a temporary flag
to enable the transition. Not supported for Apigee hybrid.
Corresponds to the JSON property disableVpcPeering
6418 6419 6420 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6418 def disable_vpc_peering @disable_vpc_peering end |
#display_name ⇒ String
Display name for the Apigee organization. Unused, but reserved for future use.
Corresponds to the JSON property displayName
6424 6425 6426 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6424 def display_name @display_name end |
#environments ⇒ Array<String>
Output only. List of environments in the Apigee organization.
Corresponds to the JSON property environments
6429 6430 6431 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6429 def environments @environments end |
#expires_at ⇒ Fixnum
Output only. Time that the Apigee organization is scheduled for deletion.
Corresponds to the JSON property expiresAt
6434 6435 6436 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6434 def expires_at @expires_at end |
#last_modified_at ⇒ Fixnum
Output only. Time that the Apigee organization was last modified in
milliseconds since epoch.
Corresponds to the JSON property lastModifiedAt
6440 6441 6442 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6440 def last_modified_at @last_modified_at end |
#name ⇒ String
Output only. Name of the Apigee organization.
Corresponds to the JSON property name
6445 6446 6447 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6445 def name @name end |
#portal_disabled ⇒ Boolean Also known as: portal_disabled?
Configuration for the Portals settings.
Corresponds to the JSON property portalDisabled
6450 6451 6452 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6450 def portal_disabled @portal_disabled end |
#project_id ⇒ String
Output only. Project ID associated with the Apigee organization.
Corresponds to the JSON property projectId
6456 6457 6458 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6456 def project_id @project_id end |
#properties ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties
Message for compatibility with legacy Edge specification for Java Properties
object in JSON.
Corresponds to the JSON property properties
6462 6463 6464 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6462 def properties @properties end |
#runtime_database_encryption_key_name ⇒ String
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
6472 6473 6474 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6472 def runtime_database_encryption_key_name @runtime_database_encryption_key_name end |
#runtime_type ⇒ String
Required. Runtime type of the Apigee organization based on the Apigee
subscription purchased.
Corresponds to the JSON property runtimeType
6478 6479 6480 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6478 def runtime_type @runtime_type end |
#state ⇒ String
Output only. State of the organization. Values other than ACTIVE means the
resource is not ready to use.
Corresponds to the JSON property state
6484 6485 6486 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6484 def state @state end |
#subscription_type ⇒ String
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
6493 6494 6495 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6493 def subscription_type @subscription_type end |
#type ⇒ String
Not used by Apigee.
Corresponds to the JSON property type
6498 6499 6500 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6498 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6505 def update!(**args) @addons_config = args[:addons_config] if args.key?(:addons_config) @analytics_region = args[:analytics_region] if args.key?(:analytics_region) @api_consumer_data_encryption_key_name = args[:api_consumer_data_encryption_key_name] if args.key?(:api_consumer_data_encryption_key_name) @api_consumer_data_location = args[:api_consumer_data_location] if args.key?(:api_consumer_data_location) @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) @control_plane_encryption_key_name = args[:control_plane_encryption_key_name] if args.key?(:control_plane_encryption_key_name) @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) @disable_vpc_peering = args[:disable_vpc_peering] if args.key?(:disable_vpc_peering) @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 |