google-cloud-vmware_engine-v1 0.1.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/google/cloud/vmware_engine/v1/bindings_override.rb +183 -0
- data/lib/google/cloud/vmware_engine/v1/rest.rb +38 -0
- data/lib/google/cloud/vmware_engine/v1/version.rb +1 -1
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/client.rb +94 -108
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/operations.rb +14 -16
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/rest/client.rb +3246 -0
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/rest/operations.rb +793 -0
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/rest/service_stub.rb +1889 -0
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/rest.rb +54 -0
- data/lib/google/cloud/vmware_engine/v1/vmware_engine.rb +6 -0
- data/lib/google/cloud/vmware_engine/v1.rb +5 -0
- data/lib/google/cloud/vmwareengine/v1/vmwareengine_pb.rb +28 -406
- data/lib/google/cloud/vmwareengine/v1/vmwareengine_resources_pb.rb +73 -0
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/cloud/vmwareengine/v1/vmwareengine.rb +0 -648
- data/proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb +674 -0
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +19 -11
@@ -21,162 +21,6 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module VmwareEngine
|
23
23
|
module V1
|
24
|
-
# Network configuration in the consumer project
|
25
|
-
# with which the peering has to be done.
|
26
|
-
# @!attribute [rw] management_cidr
|
27
|
-
# @return [::String]
|
28
|
-
# Required. Management CIDR used by VMware management appliances.
|
29
|
-
# @!attribute [rw] vmware_engine_network
|
30
|
-
# @return [::String]
|
31
|
-
# Optional. The relative resource name of the VMware Engine network attached
|
32
|
-
# to the private cloud. Specify the name in the following form:
|
33
|
-
# `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
|
34
|
-
# where `{project}` can either be a project number or a project ID.
|
35
|
-
# @!attribute [r] vmware_engine_network_canonical
|
36
|
-
# @return [::String]
|
37
|
-
# Output only. The canonical name of the VMware Engine network in the form:
|
38
|
-
# `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
|
39
|
-
# @!attribute [r] management_ip_address_layout_version
|
40
|
-
# @return [::Integer]
|
41
|
-
# Output only. The IP address layout version of the management IP address
|
42
|
-
# range. Possible versions include:
|
43
|
-
# * `managementIpAddressLayoutVersion=1`: Indicates the legacy IP address
|
44
|
-
# layout used by some existing private clouds. This is no longer supported
|
45
|
-
# for new private clouds as it does not support all features.
|
46
|
-
# * `managementIpAddressLayoutVersion=2`: Indicates the latest IP address
|
47
|
-
# layout used by all newly created private clouds. This version supports all
|
48
|
-
# current features.
|
49
|
-
class NetworkConfig
|
50
|
-
include ::Google::Protobuf::MessageExts
|
51
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
52
|
-
end
|
53
|
-
|
54
|
-
# Information about the type and number of nodes associated with the cluster.
|
55
|
-
# @!attribute [rw] node_count
|
56
|
-
# @return [::Integer]
|
57
|
-
# Required. The number of nodes of this type in the cluster
|
58
|
-
# @!attribute [rw] custom_core_count
|
59
|
-
# @return [::Integer]
|
60
|
-
# Optional. Customized number of cores available to each node of the type.
|
61
|
-
# This number must always be one of `nodeType.availableCustomCoreCounts`.
|
62
|
-
# If zero is provided max value from `nodeType.availableCustomCoreCounts`
|
63
|
-
# will be used.
|
64
|
-
class NodeTypeConfig
|
65
|
-
include ::Google::Protobuf::MessageExts
|
66
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
67
|
-
end
|
68
|
-
|
69
|
-
# Represents a private cloud resource. Private clouds are zonal resources.
|
70
|
-
# @!attribute [r] name
|
71
|
-
# @return [::String]
|
72
|
-
# Output only. The resource name of this private cloud.
|
73
|
-
# Resource names are schemeless URIs that follow the conventions in
|
74
|
-
# https://cloud.google.com/apis/design/resource_names.
|
75
|
-
# For example:
|
76
|
-
# `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
|
77
|
-
# @!attribute [r] create_time
|
78
|
-
# @return [::Google::Protobuf::Timestamp]
|
79
|
-
# Output only. Creation time of this resource.
|
80
|
-
# @!attribute [r] update_time
|
81
|
-
# @return [::Google::Protobuf::Timestamp]
|
82
|
-
# Output only. Last update time of this resource.
|
83
|
-
# @!attribute [r] delete_time
|
84
|
-
# @return [::Google::Protobuf::Timestamp]
|
85
|
-
# Output only. Time when the resource was scheduled for deletion.
|
86
|
-
# @!attribute [r] expire_time
|
87
|
-
# @return [::Google::Protobuf::Timestamp]
|
88
|
-
# Output only. Time when the resource will be irreversibly deleted.
|
89
|
-
# @!attribute [r] state
|
90
|
-
# @return [::Google::Cloud::VmwareEngine::V1::PrivateCloud::State]
|
91
|
-
# Output only. State of the resource. New values may be added to this enum
|
92
|
-
# when appropriate.
|
93
|
-
# @!attribute [rw] network_config
|
94
|
-
# @return [::Google::Cloud::VmwareEngine::V1::NetworkConfig]
|
95
|
-
# Required. Network configuration of the private cloud.
|
96
|
-
# @!attribute [rw] management_cluster
|
97
|
-
# @return [::Google::Cloud::VmwareEngine::V1::PrivateCloud::ManagementCluster]
|
98
|
-
# Input only. The management cluster for this private cloud.
|
99
|
-
# This field is required during creation of the private cloud to provide
|
100
|
-
# details for the default cluster.
|
101
|
-
#
|
102
|
-
# The following fields can't be changed after private cloud creation:
|
103
|
-
# `ManagementCluster.clusterId`, `ManagementCluster.nodeTypeId`.
|
104
|
-
# @!attribute [rw] description
|
105
|
-
# @return [::String]
|
106
|
-
# User-provided description for this private cloud.
|
107
|
-
# @!attribute [r] hcx
|
108
|
-
# @return [::Google::Cloud::VmwareEngine::V1::Hcx]
|
109
|
-
# Output only. HCX appliance.
|
110
|
-
# @!attribute [r] nsx
|
111
|
-
# @return [::Google::Cloud::VmwareEngine::V1::Nsx]
|
112
|
-
# Output only. NSX appliance.
|
113
|
-
# @!attribute [r] vcenter
|
114
|
-
# @return [::Google::Cloud::VmwareEngine::V1::Vcenter]
|
115
|
-
# Output only. Vcenter appliance.
|
116
|
-
# @!attribute [r] uid
|
117
|
-
# @return [::String]
|
118
|
-
# Output only. System-generated unique identifier for the resource.
|
119
|
-
class PrivateCloud
|
120
|
-
include ::Google::Protobuf::MessageExts
|
121
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
122
|
-
|
123
|
-
# Management cluster configuration.
|
124
|
-
# @!attribute [rw] cluster_id
|
125
|
-
# @return [::String]
|
126
|
-
# Required. The user-provided identifier of the new `Cluster`.
|
127
|
-
# The identifier must meet the following requirements:
|
128
|
-
#
|
129
|
-
# * Only contains 1-63 alphanumeric characters and hyphens
|
130
|
-
# * Begins with an alphabetical character
|
131
|
-
# * Ends with a non-hyphen character
|
132
|
-
# * Not formatted as a UUID
|
133
|
-
# * Complies with [RFC
|
134
|
-
# 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
|
135
|
-
# @!attribute [rw] node_type_configs
|
136
|
-
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::VmwareEngine::V1::NodeTypeConfig}]
|
137
|
-
# Required. The map of cluster node types in this cluster, where the key is
|
138
|
-
# canonical identifier of the node type (corresponds to the `NodeType`).
|
139
|
-
class ManagementCluster
|
140
|
-
include ::Google::Protobuf::MessageExts
|
141
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
142
|
-
|
143
|
-
# @!attribute [rw] key
|
144
|
-
# @return [::String]
|
145
|
-
# @!attribute [rw] value
|
146
|
-
# @return [::Google::Cloud::VmwareEngine::V1::NodeTypeConfig]
|
147
|
-
class NodeTypeConfigsEntry
|
148
|
-
include ::Google::Protobuf::MessageExts
|
149
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
150
|
-
end
|
151
|
-
end
|
152
|
-
|
153
|
-
# Enum State defines possible states of private clouds.
|
154
|
-
module State
|
155
|
-
# The default value. This value should never be used.
|
156
|
-
STATE_UNSPECIFIED = 0
|
157
|
-
|
158
|
-
# The private cloud is ready.
|
159
|
-
ACTIVE = 1
|
160
|
-
|
161
|
-
# The private cloud is being created.
|
162
|
-
CREATING = 2
|
163
|
-
|
164
|
-
# The private cloud is being updated.
|
165
|
-
UPDATING = 3
|
166
|
-
|
167
|
-
# The private cloud is in failed state.
|
168
|
-
FAILED = 5
|
169
|
-
|
170
|
-
# The private cloud is scheduled for deletion. The deletion process can be
|
171
|
-
# cancelled by using the corresponding undelete method.
|
172
|
-
DELETED = 6
|
173
|
-
|
174
|
-
# The private cloud is irreversibly deleted and is being removed from the
|
175
|
-
# system.
|
176
|
-
PURGING = 7
|
177
|
-
end
|
178
|
-
end
|
179
|
-
|
180
24
|
# Request message for
|
181
25
|
# {::Google::Cloud::VmwareEngine::V1::VmwareEngine::Client#list_private_clouds VmwareEngine.ListPrivateClouds}
|
182
26
|
# @!attribute [rw] parent
|
@@ -383,72 +227,6 @@ module Google
|
|
383
227
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
384
228
|
end
|
385
229
|
|
386
|
-
# A cluster in a private cloud.
|
387
|
-
# @!attribute [r] name
|
388
|
-
# @return [::String]
|
389
|
-
# Output only. The resource name of this cluster.
|
390
|
-
# Resource names are schemeless URIs that follow the conventions in
|
391
|
-
# https://cloud.google.com/apis/design/resource_names.
|
392
|
-
# For example:
|
393
|
-
# `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`
|
394
|
-
# @!attribute [r] create_time
|
395
|
-
# @return [::Google::Protobuf::Timestamp]
|
396
|
-
# Output only. Creation time of this resource.
|
397
|
-
# @!attribute [r] update_time
|
398
|
-
# @return [::Google::Protobuf::Timestamp]
|
399
|
-
# Output only. Last update time of this resource.
|
400
|
-
# @!attribute [r] state
|
401
|
-
# @return [::Google::Cloud::VmwareEngine::V1::Cluster::State]
|
402
|
-
# Output only. State of the resource.
|
403
|
-
# @!attribute [r] management
|
404
|
-
# @return [::Boolean]
|
405
|
-
# Output only. True if the cluster is a management cluster; false otherwise.
|
406
|
-
# There can only be one management cluster in a private cloud
|
407
|
-
# and it has to be the first one.
|
408
|
-
# @!attribute [r] uid
|
409
|
-
# @return [::String]
|
410
|
-
# Output only. System-generated unique identifier for the resource.
|
411
|
-
# @!attribute [rw] node_type_configs
|
412
|
-
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::VmwareEngine::V1::NodeTypeConfig}]
|
413
|
-
# Required. The map of cluster node types in this cluster, where the key is
|
414
|
-
# canonical identifier of the node type (corresponds to the `NodeType`).
|
415
|
-
class Cluster
|
416
|
-
include ::Google::Protobuf::MessageExts
|
417
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
418
|
-
|
419
|
-
# @!attribute [rw] key
|
420
|
-
# @return [::String]
|
421
|
-
# @!attribute [rw] value
|
422
|
-
# @return [::Google::Cloud::VmwareEngine::V1::NodeTypeConfig]
|
423
|
-
class NodeTypeConfigsEntry
|
424
|
-
include ::Google::Protobuf::MessageExts
|
425
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
426
|
-
end
|
427
|
-
|
428
|
-
# Enum State defines possible states of private cloud clusters.
|
429
|
-
module State
|
430
|
-
# The default value. This value should never be used.
|
431
|
-
STATE_UNSPECIFIED = 0
|
432
|
-
|
433
|
-
# The Cluster is operational and can be used by the user.
|
434
|
-
ACTIVE = 1
|
435
|
-
|
436
|
-
# The Cluster is being deployed.
|
437
|
-
CREATING = 2
|
438
|
-
|
439
|
-
# Adding or removing of a node to the cluster, any other cluster specific
|
440
|
-
# updates.
|
441
|
-
UPDATING = 3
|
442
|
-
|
443
|
-
# The Cluster is being deleted.
|
444
|
-
DELETING = 4
|
445
|
-
|
446
|
-
# The Cluster is undergoing maintenance, for example: a failed node is
|
447
|
-
# getting replaced.
|
448
|
-
REPAIRING = 5
|
449
|
-
end
|
450
|
-
end
|
451
|
-
|
452
230
|
# Request message for
|
453
231
|
# {::Google::Cloud::VmwareEngine::V1::VmwareEngine::Client#list_clusters VmwareEngine.ListClusters}
|
454
232
|
# @!attribute [rw] parent
|
@@ -611,52 +389,6 @@ module Google
|
|
611
389
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
612
390
|
end
|
613
391
|
|
614
|
-
# Subnet in a private cloud. Either `management` subnets (such as vMotion) that
|
615
|
-
# are read-only, or `userDefined`, which can also be updated.
|
616
|
-
# @!attribute [r] name
|
617
|
-
# @return [::String]
|
618
|
-
# Output only. The resource name of this subnet.
|
619
|
-
# Resource names are schemeless URIs that follow the conventions in
|
620
|
-
# https://cloud.google.com/apis/design/resource_names.
|
621
|
-
# For example:
|
622
|
-
# `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet`
|
623
|
-
# @!attribute [rw] ip_cidr_range
|
624
|
-
# @return [::String]
|
625
|
-
# The IP address range of the subnet in CIDR format '10.0.0.0/24'.
|
626
|
-
# @!attribute [rw] gateway_ip
|
627
|
-
# @return [::String]
|
628
|
-
# The IP address of the gateway of this subnet.
|
629
|
-
# Must fall within the IP prefix defined above.
|
630
|
-
# @!attribute [r] type
|
631
|
-
# @return [::String]
|
632
|
-
# Output only. The type of the subnet. For example "management" or
|
633
|
-
# "userDefined".
|
634
|
-
# @!attribute [r] state
|
635
|
-
# @return [::Google::Cloud::VmwareEngine::V1::Subnet::State]
|
636
|
-
# Output only. The state of the resource.
|
637
|
-
class Subnet
|
638
|
-
include ::Google::Protobuf::MessageExts
|
639
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
640
|
-
|
641
|
-
# Defines possible states of subnets.
|
642
|
-
module State
|
643
|
-
# The default value. This value should never be used.
|
644
|
-
STATE_UNSPECIFIED = 0
|
645
|
-
|
646
|
-
# The subnet is ready.
|
647
|
-
ACTIVE = 1
|
648
|
-
|
649
|
-
# The subnet is being created.
|
650
|
-
CREATING = 2
|
651
|
-
|
652
|
-
# The subnet is being updated.
|
653
|
-
UPDATING = 3
|
654
|
-
|
655
|
-
# The subnet is being deleted.
|
656
|
-
DELETING = 4
|
657
|
-
end
|
658
|
-
end
|
659
|
-
|
660
392
|
# Request message for
|
661
393
|
# {::Google::Cloud::VmwareEngine::V1::VmwareEngine::Client#list_subnets VmwareEngine.ListSubnets}
|
662
394
|
# @!attribute [rw] parent
|
@@ -731,42 +463,6 @@ module Google
|
|
731
463
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
732
464
|
end
|
733
465
|
|
734
|
-
# Describes node type.
|
735
|
-
# @!attribute [r] name
|
736
|
-
# @return [::String]
|
737
|
-
# Output only. The resource name of this node type.
|
738
|
-
# Resource names are schemeless URIs that follow the conventions in
|
739
|
-
# https://cloud.google.com/apis/design/resource_names.
|
740
|
-
# For example:
|
741
|
-
# `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72`
|
742
|
-
# @!attribute [r] node_type_id
|
743
|
-
# @return [::String]
|
744
|
-
# Output only. The canonical identifier of the node type
|
745
|
-
# (corresponds to the `NodeType`). For example: standard-72.
|
746
|
-
# @!attribute [r] display_name
|
747
|
-
# @return [::String]
|
748
|
-
# Output only. The friendly name for this node type.
|
749
|
-
# For example: ve1-standard-72
|
750
|
-
# @!attribute [r] virtual_cpu_count
|
751
|
-
# @return [::Integer]
|
752
|
-
# Output only. The total number of virtual CPUs in a single node.
|
753
|
-
# @!attribute [r] total_core_count
|
754
|
-
# @return [::Integer]
|
755
|
-
# Output only. The total number of CPU cores in a single node.
|
756
|
-
# @!attribute [r] memory_gb
|
757
|
-
# @return [::Integer]
|
758
|
-
# Output only. The amount of physical memory available, defined in GB.
|
759
|
-
# @!attribute [r] disk_size_gb
|
760
|
-
# @return [::Integer]
|
761
|
-
# Output only. The amount of storage available, defined in GB.
|
762
|
-
# @!attribute [r] available_custom_core_counts
|
763
|
-
# @return [::Array<::Integer>]
|
764
|
-
# Output only. List of possible values of custom core count.
|
765
|
-
class NodeType
|
766
|
-
include ::Google::Protobuf::MessageExts
|
767
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
768
|
-
end
|
769
|
-
|
770
466
|
# Request message for
|
771
467
|
# {::Google::Cloud::VmwareEngine::V1::VmwareEngine::Client#list_node_types VmwareEngine.ListNodeTypes}
|
772
468
|
# @!attribute [rw] parent
|
@@ -853,18 +549,6 @@ module Google
|
|
853
549
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
854
550
|
end
|
855
551
|
|
856
|
-
# Credentials for a private cloud.
|
857
|
-
# @!attribute [rw] username
|
858
|
-
# @return [::String]
|
859
|
-
# Initial username.
|
860
|
-
# @!attribute [rw] password
|
861
|
-
# @return [::String]
|
862
|
-
# Initial password.
|
863
|
-
class Credentials
|
864
|
-
include ::Google::Protobuf::MessageExts
|
865
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
866
|
-
end
|
867
|
-
|
868
552
|
# Request message for
|
869
553
|
# {::Google::Cloud::VmwareEngine::V1::VmwareEngine::Client#show_nsx_credentials VmwareEngine.ShowNsxCredentials}
|
870
554
|
# @!attribute [rw] private_cloud
|
@@ -975,53 +659,6 @@ module Google
|
|
975
659
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
976
660
|
end
|
977
661
|
|
978
|
-
# HCX activation key. A default key is created during
|
979
|
-
# private cloud provisioning, but this behavior is subject to change
|
980
|
-
# and you should always verify active keys.
|
981
|
-
# Use
|
982
|
-
# {::Google::Cloud::VmwareEngine::V1::VmwareEngine::Client#list_hcx_activation_keys VmwareEngine.ListHcxActivationKeys}
|
983
|
-
# to retrieve existing keys and
|
984
|
-
# {::Google::Cloud::VmwareEngine::V1::VmwareEngine::Client#create_hcx_activation_key VmwareEngine.CreateHcxActivationKey}
|
985
|
-
# to create new ones.
|
986
|
-
# @!attribute [r] name
|
987
|
-
# @return [::String]
|
988
|
-
# Output only. The resource name of this HcxActivationKey.
|
989
|
-
# Resource names are schemeless URIs that follow the conventions in
|
990
|
-
# https://cloud.google.com/apis/design/resource_names.
|
991
|
-
# For example:
|
992
|
-
# `projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key`
|
993
|
-
# @!attribute [r] create_time
|
994
|
-
# @return [::Google::Protobuf::Timestamp]
|
995
|
-
# Output only. Creation time of HCX activation key.
|
996
|
-
# @!attribute [r] state
|
997
|
-
# @return [::Google::Cloud::VmwareEngine::V1::HcxActivationKey::State]
|
998
|
-
# Output only. State of HCX activation key.
|
999
|
-
# @!attribute [r] activation_key
|
1000
|
-
# @return [::String]
|
1001
|
-
# Output only. HCX activation key.
|
1002
|
-
# @!attribute [r] uid
|
1003
|
-
# @return [::String]
|
1004
|
-
# Output only. System-generated unique identifier for the resource.
|
1005
|
-
class HcxActivationKey
|
1006
|
-
include ::Google::Protobuf::MessageExts
|
1007
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1008
|
-
|
1009
|
-
# State of HCX activation key
|
1010
|
-
module State
|
1011
|
-
# Unspecified state.
|
1012
|
-
STATE_UNSPECIFIED = 0
|
1013
|
-
|
1014
|
-
# State of a newly generated activation key.
|
1015
|
-
AVAILABLE = 1
|
1016
|
-
|
1017
|
-
# State of key when it has been used to activate HCX appliance.
|
1018
|
-
CONSUMED = 2
|
1019
|
-
|
1020
|
-
# State of key when it is being created.
|
1021
|
-
CREATING = 3
|
1022
|
-
end
|
1023
|
-
end
|
1024
|
-
|
1025
662
|
# Request message for
|
1026
663
|
# {::Google::Cloud::VmwareEngine::V1::VmwareEngine::Client#list_hcx_activation_keys VmwareEngine.ListHcxActivationKeys}
|
1027
664
|
# @!attribute [rw] parent
|
@@ -1111,183 +748,6 @@ module Google
|
|
1111
748
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1112
749
|
end
|
1113
750
|
|
1114
|
-
# Details about a HCX Cloud Manager appliance.
|
1115
|
-
# @!attribute [rw] internal_ip
|
1116
|
-
# @return [::String]
|
1117
|
-
# Internal IP address of the appliance.
|
1118
|
-
# @!attribute [rw] version
|
1119
|
-
# @return [::String]
|
1120
|
-
# Version of the appliance.
|
1121
|
-
# @!attribute [r] state
|
1122
|
-
# @return [::Google::Cloud::VmwareEngine::V1::Hcx::State]
|
1123
|
-
# Output only. The state of the appliance.
|
1124
|
-
# @!attribute [rw] fqdn
|
1125
|
-
# @return [::String]
|
1126
|
-
# Fully qualified domain name of the appliance.
|
1127
|
-
class Hcx
|
1128
|
-
include ::Google::Protobuf::MessageExts
|
1129
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1130
|
-
|
1131
|
-
# State of the appliance
|
1132
|
-
module State
|
1133
|
-
# Unspecified appliance state. This is the default value.
|
1134
|
-
STATE_UNSPECIFIED = 0
|
1135
|
-
|
1136
|
-
# The appliance is operational and can be used.
|
1137
|
-
ACTIVE = 1
|
1138
|
-
|
1139
|
-
# The appliance is being deployed.
|
1140
|
-
CREATING = 2
|
1141
|
-
end
|
1142
|
-
end
|
1143
|
-
|
1144
|
-
# Details about a NSX Manager appliance.
|
1145
|
-
# @!attribute [rw] internal_ip
|
1146
|
-
# @return [::String]
|
1147
|
-
# Internal IP address of the appliance.
|
1148
|
-
# @!attribute [rw] version
|
1149
|
-
# @return [::String]
|
1150
|
-
# Version of the appliance.
|
1151
|
-
# @!attribute [r] state
|
1152
|
-
# @return [::Google::Cloud::VmwareEngine::V1::Nsx::State]
|
1153
|
-
# Output only. The state of the appliance.
|
1154
|
-
# @!attribute [rw] fqdn
|
1155
|
-
# @return [::String]
|
1156
|
-
# Fully qualified domain name of the appliance.
|
1157
|
-
class Nsx
|
1158
|
-
include ::Google::Protobuf::MessageExts
|
1159
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1160
|
-
|
1161
|
-
# State of the appliance
|
1162
|
-
module State
|
1163
|
-
# Unspecified appliance state. This is the default value.
|
1164
|
-
STATE_UNSPECIFIED = 0
|
1165
|
-
|
1166
|
-
# The appliance is operational and can be used.
|
1167
|
-
ACTIVE = 1
|
1168
|
-
|
1169
|
-
# The appliance is being deployed.
|
1170
|
-
CREATING = 2
|
1171
|
-
end
|
1172
|
-
end
|
1173
|
-
|
1174
|
-
# Details about a vCenter Server management appliance.
|
1175
|
-
# @!attribute [rw] internal_ip
|
1176
|
-
# @return [::String]
|
1177
|
-
# Internal IP address of the appliance.
|
1178
|
-
# @!attribute [rw] version
|
1179
|
-
# @return [::String]
|
1180
|
-
# Version of the appliance.
|
1181
|
-
# @!attribute [r] state
|
1182
|
-
# @return [::Google::Cloud::VmwareEngine::V1::Vcenter::State]
|
1183
|
-
# Output only. The state of the appliance.
|
1184
|
-
# @!attribute [rw] fqdn
|
1185
|
-
# @return [::String]
|
1186
|
-
# Fully qualified domain name of the appliance.
|
1187
|
-
class Vcenter
|
1188
|
-
include ::Google::Protobuf::MessageExts
|
1189
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1190
|
-
|
1191
|
-
# State of the appliance
|
1192
|
-
module State
|
1193
|
-
# Unspecified appliance state. This is the default value.
|
1194
|
-
STATE_UNSPECIFIED = 0
|
1195
|
-
|
1196
|
-
# The appliance is operational and can be used.
|
1197
|
-
ACTIVE = 1
|
1198
|
-
|
1199
|
-
# The appliance is being deployed.
|
1200
|
-
CREATING = 2
|
1201
|
-
end
|
1202
|
-
end
|
1203
|
-
|
1204
|
-
# Represents a network policy resource. Network policies are regional
|
1205
|
-
# resources. You can use a network policy to enable or disable internet access
|
1206
|
-
# and external IP access. Network policies are associated with a VMware Engine
|
1207
|
-
# network, which might span across regions. For a given region, a network
|
1208
|
-
# policy applies to all private clouds in the VMware Engine network associated
|
1209
|
-
# with the policy.
|
1210
|
-
# @!attribute [r] name
|
1211
|
-
# @return [::String]
|
1212
|
-
# Output only. The resource name of this network policy.
|
1213
|
-
# Resource names are schemeless URIs that follow the conventions in
|
1214
|
-
# https://cloud.google.com/apis/design/resource_names.
|
1215
|
-
# For example:
|
1216
|
-
# `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`
|
1217
|
-
# @!attribute [r] create_time
|
1218
|
-
# @return [::Google::Protobuf::Timestamp]
|
1219
|
-
# Output only. Creation time of this resource.
|
1220
|
-
# @!attribute [r] update_time
|
1221
|
-
# @return [::Google::Protobuf::Timestamp]
|
1222
|
-
# Output only. Last update time of this resource.
|
1223
|
-
# @!attribute [rw] internet_access
|
1224
|
-
# @return [::Google::Cloud::VmwareEngine::V1::NetworkPolicy::NetworkService]
|
1225
|
-
# Network service that allows VMware workloads to access the internet.
|
1226
|
-
# @!attribute [rw] external_ip
|
1227
|
-
# @return [::Google::Cloud::VmwareEngine::V1::NetworkPolicy::NetworkService]
|
1228
|
-
# Network service that allows External IP addresses to be assigned to VMware
|
1229
|
-
# workloads. This service can only be enabled when `internet_access` is also
|
1230
|
-
# enabled.
|
1231
|
-
# @!attribute [rw] edge_services_cidr
|
1232
|
-
# @return [::String]
|
1233
|
-
# Required. IP address range in CIDR notation used to create internet access
|
1234
|
-
# and external IP access. An RFC 1918 CIDR block, with a "/26" prefix, is
|
1235
|
-
# required. The range cannot overlap with any prefixes either in the consumer
|
1236
|
-
# VPC network or in use by the private clouds attached to that VPC network.
|
1237
|
-
# @!attribute [r] uid
|
1238
|
-
# @return [::String]
|
1239
|
-
# Output only. System-generated unique identifier for the resource.
|
1240
|
-
# @!attribute [rw] vmware_engine_network
|
1241
|
-
# @return [::String]
|
1242
|
-
# Optional. The relative resource name of the VMware Engine network.
|
1243
|
-
# Specify the name in the following form:
|
1244
|
-
# `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
|
1245
|
-
# where `{project}` can either be a project number or a project ID.
|
1246
|
-
# @!attribute [rw] description
|
1247
|
-
# @return [::String]
|
1248
|
-
# Optional. User-provided description for this network policy.
|
1249
|
-
# @!attribute [r] vmware_engine_network_canonical
|
1250
|
-
# @return [::String]
|
1251
|
-
# Output only. The canonical name of the VMware Engine network in the form:
|
1252
|
-
# `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
|
1253
|
-
class NetworkPolicy
|
1254
|
-
include ::Google::Protobuf::MessageExts
|
1255
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1256
|
-
|
1257
|
-
# Represents a network service that is managed by a `NetworkPolicy` resource.
|
1258
|
-
# A network service provides a way to control an aspect of external access to
|
1259
|
-
# VMware workloads. For example, whether the VMware workloads in the
|
1260
|
-
# private clouds governed by a network policy can access or be accessed from
|
1261
|
-
# the internet.
|
1262
|
-
# @!attribute [rw] enabled
|
1263
|
-
# @return [::Boolean]
|
1264
|
-
# True if the service is enabled; false otherwise.
|
1265
|
-
# @!attribute [r] state
|
1266
|
-
# @return [::Google::Cloud::VmwareEngine::V1::NetworkPolicy::NetworkService::State]
|
1267
|
-
# Output only. State of the service. New values may be added to this enum
|
1268
|
-
# when appropriate.
|
1269
|
-
class NetworkService
|
1270
|
-
include ::Google::Protobuf::MessageExts
|
1271
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1272
|
-
|
1273
|
-
# Enum State defines possible states of a network policy controlled
|
1274
|
-
# service.
|
1275
|
-
module State
|
1276
|
-
# Unspecified service state. This is the default value.
|
1277
|
-
STATE_UNSPECIFIED = 0
|
1278
|
-
|
1279
|
-
# Service is not provisioned.
|
1280
|
-
UNPROVISIONED = 1
|
1281
|
-
|
1282
|
-
# Service is in the process of being provisioned/deprovisioned.
|
1283
|
-
RECONCILING = 2
|
1284
|
-
|
1285
|
-
# Service is active.
|
1286
|
-
ACTIVE = 3
|
1287
|
-
end
|
1288
|
-
end
|
1289
|
-
end
|
1290
|
-
|
1291
751
|
# Request message for
|
1292
752
|
# {::Google::Cloud::VmwareEngine::V1::VmwareEngine::Client#list_network_policies VmwareEngine.ListNetworkPolicies}
|
1293
753
|
# @!attribute [rw] parent
|
@@ -1492,114 +952,6 @@ module Google
|
|
1492
952
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1493
953
|
end
|
1494
954
|
|
1495
|
-
# VMware Engine network resource that provides connectivity for VMware Engine
|
1496
|
-
# private clouds.
|
1497
|
-
# @!attribute [r] name
|
1498
|
-
# @return [::String]
|
1499
|
-
# Output only. The resource name of the VMware Engine network.
|
1500
|
-
# Resource names are schemeless URIs that follow the conventions in
|
1501
|
-
# https://cloud.google.com/apis/design/resource_names.
|
1502
|
-
# For example:
|
1503
|
-
# `projects/my-project/locations/global/vmwareEngineNetworks/my-network`
|
1504
|
-
# @!attribute [r] create_time
|
1505
|
-
# @return [::Google::Protobuf::Timestamp]
|
1506
|
-
# Output only. Creation time of this resource.
|
1507
|
-
# @!attribute [r] update_time
|
1508
|
-
# @return [::Google::Protobuf::Timestamp]
|
1509
|
-
# Output only. Last update time of this resource.
|
1510
|
-
# @!attribute [rw] description
|
1511
|
-
# @return [::String]
|
1512
|
-
# User-provided description for this VMware Engine network.
|
1513
|
-
# @!attribute [r] vpc_networks
|
1514
|
-
# @return [::Array<::Google::Cloud::VmwareEngine::V1::VmwareEngineNetwork::VpcNetwork>]
|
1515
|
-
# Output only. VMware Engine service VPC networks that provide connectivity
|
1516
|
-
# from a private cloud to customer projects, the internet, and other Google
|
1517
|
-
# Cloud services.
|
1518
|
-
# @!attribute [r] state
|
1519
|
-
# @return [::Google::Cloud::VmwareEngine::V1::VmwareEngineNetwork::State]
|
1520
|
-
# Output only. State of the VMware Engine network.
|
1521
|
-
# @!attribute [rw] type
|
1522
|
-
# @return [::Google::Cloud::VmwareEngine::V1::VmwareEngineNetwork::Type]
|
1523
|
-
# Required. VMware Engine network type.
|
1524
|
-
# @!attribute [r] uid
|
1525
|
-
# @return [::String]
|
1526
|
-
# Output only. System-generated unique identifier for the resource.
|
1527
|
-
# @!attribute [rw] etag
|
1528
|
-
# @return [::String]
|
1529
|
-
# Checksum that may be sent on update and delete requests to ensure that the
|
1530
|
-
# user-provided value is up to date before the server processes a request.
|
1531
|
-
# The server computes checksums based on the value of other fields in the
|
1532
|
-
# request.
|
1533
|
-
class VmwareEngineNetwork
|
1534
|
-
include ::Google::Protobuf::MessageExts
|
1535
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1536
|
-
|
1537
|
-
# Represents a VMware Engine VPC network that is managed by a
|
1538
|
-
# VMware Engine network resource.
|
1539
|
-
# @!attribute [r] type
|
1540
|
-
# @return [::Google::Cloud::VmwareEngine::V1::VmwareEngineNetwork::VpcNetwork::Type]
|
1541
|
-
# Output only. Type of VPC network (INTRANET, INTERNET, or
|
1542
|
-
# GOOGLE_CLOUD)
|
1543
|
-
# @!attribute [r] network
|
1544
|
-
# @return [::String]
|
1545
|
-
# Output only. The relative resource name of the service VPC network this
|
1546
|
-
# VMware Engine network is attached to. For example:
|
1547
|
-
# `projects/123123/global/networks/my-network`
|
1548
|
-
class VpcNetwork
|
1549
|
-
include ::Google::Protobuf::MessageExts
|
1550
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1551
|
-
|
1552
|
-
# Enum Type defines possible types of a VMware Engine network controlled
|
1553
|
-
# service.
|
1554
|
-
module Type
|
1555
|
-
# The default value. This value should never be used.
|
1556
|
-
TYPE_UNSPECIFIED = 0
|
1557
|
-
|
1558
|
-
# VPC network that will be peered with a consumer VPC network or the
|
1559
|
-
# intranet VPC of another VMware Engine network. Access a private cloud
|
1560
|
-
# through Compute Engine VMs on a peered VPC network or an on-premises
|
1561
|
-
# resource connected to a peered consumer VPC network.
|
1562
|
-
INTRANET = 1
|
1563
|
-
|
1564
|
-
# VPC network used for internet access to and from a private cloud.
|
1565
|
-
INTERNET = 2
|
1566
|
-
|
1567
|
-
# VPC network used for access to Google Cloud services like
|
1568
|
-
# Cloud Storage.
|
1569
|
-
GOOGLE_CLOUD = 3
|
1570
|
-
end
|
1571
|
-
end
|
1572
|
-
|
1573
|
-
# Enum State defines possible states of VMware Engine network.
|
1574
|
-
module State
|
1575
|
-
# The default value. This value is used if the state is omitted.
|
1576
|
-
STATE_UNSPECIFIED = 0
|
1577
|
-
|
1578
|
-
# The VMware Engine network is being created.
|
1579
|
-
CREATING = 1
|
1580
|
-
|
1581
|
-
# The VMware Engine network is ready.
|
1582
|
-
ACTIVE = 2
|
1583
|
-
|
1584
|
-
# The VMware Engine network is being updated.
|
1585
|
-
UPDATING = 3
|
1586
|
-
|
1587
|
-
# The VMware Engine network is being deleted.
|
1588
|
-
DELETING = 4
|
1589
|
-
end
|
1590
|
-
|
1591
|
-
# Enum Type defines possible types of VMware Engine network.
|
1592
|
-
module Type
|
1593
|
-
# The default value. This value should never be used.
|
1594
|
-
TYPE_UNSPECIFIED = 0
|
1595
|
-
|
1596
|
-
# Network type used by private clouds created in projects without a network
|
1597
|
-
# of type `STANDARD`. This network type is no longer used for new VMware
|
1598
|
-
# Engine private cloud deployments.
|
1599
|
-
LEGACY = 1
|
1600
|
-
end
|
1601
|
-
end
|
1602
|
-
|
1603
955
|
# Request message for
|
1604
956
|
# {::Google::Cloud::VmwareEngine::V1::VmwareEngine::Client#create_vmware_engine_network VmwareEngine.CreateVmwareEngineNetwork}
|
1605
957
|
# @!attribute [rw] parent
|