google-cloud-vmware_engine-v1 0.3.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -116,6 +116,9 @@ module Google
116
116
  # @!attribute [r] uid
117
117
  # @return [::String]
118
118
  # Output only. System-generated unique identifier for the resource.
119
+ # @!attribute [rw] type
120
+ # @return [::Google::Cloud::VmwareEngine::V1::PrivateCloud::Type]
121
+ # Optional. Type of the private cloud. Defaults to STANDARD.
119
122
  class PrivateCloud
120
123
  include ::Google::Protobuf::MessageExts
121
124
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -175,6 +178,18 @@ module Google
175
178
  # system.
176
179
  PURGING = 7
177
180
  end
181
+
182
+ # Enum Type defines private cloud type.
183
+ module Type
184
+ # Standard private is a zonal resource, with 3+ nodes. Default type.
185
+ STANDARD = 0
186
+
187
+ # Time limited private cloud is a zonal resource, can have only 1 node and
188
+ # has limited life span. Will be deleted after defined period of time,
189
+ # can be converted into standard private cloud by expanding it up to 3
190
+ # or more nodes.
191
+ TIME_LIMITED = 1
192
+ end
178
193
  end
179
194
 
180
195
  # A cluster in a private cloud.
@@ -286,6 +301,13 @@ module Google
286
301
 
287
302
  # The subnet is being deleted.
288
303
  DELETING = 4
304
+
305
+ # Changes requested in the last operation are being propagated.
306
+ RECONCILING = 5
307
+
308
+ # Last operation on the subnet did not succeed. Subnet's payload is
309
+ # reverted back to its most recent working state.
310
+ FAILED = 6
289
311
  end
290
312
  end
291
313
 
@@ -474,6 +496,68 @@ module Google
474
496
  end
475
497
  end
476
498
 
499
+ # Exchanged network peering route.
500
+ # @!attribute [r] dest_range
501
+ # @return [::String]
502
+ # Output only. Destination range of the peering route in CIDR notation.
503
+ # @!attribute [r] type
504
+ # @return [::Google::Cloud::VmwareEngine::V1::PeeringRoute::Type]
505
+ # Output only. Type of the route in the peer VPC network.
506
+ # @!attribute [r] next_hop_region
507
+ # @return [::String]
508
+ # Output only. Region containing the next hop of the peering route. This
509
+ # field only applies to dynamic routes in the peer VPC network.
510
+ # @!attribute [r] priority
511
+ # @return [::Integer]
512
+ # Output only. The priority of the peering route.
513
+ # @!attribute [r] imported
514
+ # @return [::Boolean]
515
+ # Output only. True if the peering route has been imported from a peered
516
+ # VPC network; false otherwise. The import happens if the field
517
+ # `NetworkPeering.importCustomRoutes` is true for this network,
518
+ # `NetworkPeering.exportCustomRoutes` is true for the peer VPC network, and
519
+ # the import does not result in a route conflict.
520
+ # @!attribute [r] direction
521
+ # @return [::Google::Cloud::VmwareEngine::V1::PeeringRoute::Direction]
522
+ # Output only. Direction of the routes exchanged with the peer network, from
523
+ # the VMware Engine network perspective:
524
+ #
525
+ # * Routes of direction `INCOMING` are imported from the peer network.
526
+ # * Routes of direction `OUTGOING` are exported from the intranet VPC network
527
+ # of the VMware Engine network.
528
+ class PeeringRoute
529
+ include ::Google::Protobuf::MessageExts
530
+ extend ::Google::Protobuf::MessageExts::ClassMethods
531
+
532
+ # The type of the peering route.
533
+ module Type
534
+ # Unspecified peering route type. This is the default value.
535
+ TYPE_UNSPECIFIED = 0
536
+
537
+ # Dynamic routes in the peer network.
538
+ DYNAMIC_PEERING_ROUTE = 1
539
+
540
+ # Static routes in the peer network.
541
+ STATIC_PEERING_ROUTE = 2
542
+
543
+ # Created, updated, and removed automatically by Google Cloud when subnets
544
+ # are created, modified, or deleted in the peer network.
545
+ SUBNET_PEERING_ROUTE = 3
546
+ end
547
+
548
+ # The direction of the exchanged routes.
549
+ module Direction
550
+ # Unspecified exchanged routes direction. This is default.
551
+ DIRECTION_UNSPECIFIED = 0
552
+
553
+ # Routes imported from the peer network.
554
+ INCOMING = 1
555
+
556
+ # Routes exported to the peer network.
557
+ OUTGOING = 2
558
+ end
559
+ end
560
+
477
561
  # Represents a network policy resource. Network policies are regional
478
562
  # resources. You can use a network policy to enable or disable internet access
479
563
  # and external IP access. Network policies are associated with a VMware Engine
@@ -668,6 +752,149 @@ module Google
668
752
  LEGACY = 1
669
753
  end
670
754
  end
755
+
756
+ # Private connection resource that provides connectivity for VMware Engine
757
+ # private clouds.
758
+ # @!attribute [r] name
759
+ # @return [::String]
760
+ # Output only. The resource name of the private connection.
761
+ # Resource names are schemeless URIs that follow the conventions in
762
+ # https://cloud.google.com/apis/design/resource_names.
763
+ # For example:
764
+ # `projects/my-project/locations/us-central1/privateConnections/my-connection`
765
+ # @!attribute [r] create_time
766
+ # @return [::Google::Protobuf::Timestamp]
767
+ # Output only. Creation time of this resource.
768
+ # @!attribute [r] update_time
769
+ # @return [::Google::Protobuf::Timestamp]
770
+ # Output only. Last update time of this resource.
771
+ # @!attribute [rw] description
772
+ # @return [::String]
773
+ # Optional. User-provided description for this private connection.
774
+ # @!attribute [r] state
775
+ # @return [::Google::Cloud::VmwareEngine::V1::PrivateConnection::State]
776
+ # Output only. State of the private connection.
777
+ # @!attribute [rw] vmware_engine_network
778
+ # @return [::String]
779
+ # Required. The relative resource name of Legacy VMware Engine network.
780
+ # Specify the name in the following form:
781
+ # `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
782
+ # where `{project}`, `{location}` will be same as specified in private
783
+ # connection resource name and `{vmware_engine_network_id}` will be in the
784
+ # form of `{location}`-default e.g.
785
+ # projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default.
786
+ # @!attribute [r] vmware_engine_network_canonical
787
+ # @return [::String]
788
+ # Output only. The canonical name of the VMware Engine network in the form:
789
+ # `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
790
+ # @!attribute [rw] type
791
+ # @return [::Google::Cloud::VmwareEngine::V1::PrivateConnection::Type]
792
+ # Required. Private connection type.
793
+ # @!attribute [r] peering_id
794
+ # @return [::String]
795
+ # Output only. VPC network peering id between given network VPC and
796
+ # VMwareEngineNetwork.
797
+ # @!attribute [rw] routing_mode
798
+ # @return [::Google::Cloud::VmwareEngine::V1::PrivateConnection::RoutingMode]
799
+ # Optional. Routing Mode.
800
+ # Default value is set to GLOBAL.
801
+ # For type = PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or
802
+ # REGIONAL, for other types only GLOBAL is supported.
803
+ # @!attribute [r] uid
804
+ # @return [::String]
805
+ # Output only. System-generated unique identifier for the resource.
806
+ # @!attribute [rw] service_network
807
+ # @return [::String]
808
+ # Required. Service network to create private connection.
809
+ # Specify the name in the following form:
810
+ # `projects/{project}/global/networks/{network_id}`
811
+ # For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking
812
+ # VPC, e.g. projects/project-tp/global/networks/servicenetworking.
813
+ # For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC,
814
+ # e.g. projects/project-tp/global/networks/netapp-tenant-vpc.
815
+ # For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g.
816
+ # projects/project-tp/global/networks/dell-tenant-vpc.
817
+ # For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or
818
+ # any other producer VPC to which the VMware Engine Network needs to be
819
+ # connected, e.g. projects/project/global/networks/vpc.
820
+ # @!attribute [r] peering_state
821
+ # @return [::Google::Cloud::VmwareEngine::V1::PrivateConnection::PeeringState]
822
+ # Output only. Peering state between service network and VMware Engine
823
+ # network.
824
+ class PrivateConnection
825
+ include ::Google::Protobuf::MessageExts
826
+ extend ::Google::Protobuf::MessageExts::ClassMethods
827
+
828
+ # Enum State defines possible states of private connection.
829
+ module State
830
+ # The default value. This value is used if the state is omitted.
831
+ STATE_UNSPECIFIED = 0
832
+
833
+ # The private connection is being created.
834
+ CREATING = 1
835
+
836
+ # The private connection is ready.
837
+ ACTIVE = 2
838
+
839
+ # The private connection is being updated.
840
+ UPDATING = 3
841
+
842
+ # The private connection is being deleted.
843
+ DELETING = 4
844
+
845
+ # The private connection is not provisioned, since no private cloud is
846
+ # present for which this private connection is needed.
847
+ UNPROVISIONED = 5
848
+
849
+ # The private connection is in failed state.
850
+ FAILED = 6
851
+ end
852
+
853
+ # Enum Type defines possible types of private connection.
854
+ module Type
855
+ # The default value. This value should never be used.
856
+ TYPE_UNSPECIFIED = 0
857
+
858
+ # Connection used for establishing [private services
859
+ # access](https://cloud.google.com/vpc/docs/private-services-access).
860
+ PRIVATE_SERVICE_ACCESS = 1
861
+
862
+ # Connection used for connecting to NetApp Cloud Volumes.
863
+ NETAPP_CLOUD_VOLUMES = 2
864
+
865
+ # Connection used for connecting to Dell PowerScale.
866
+ DELL_POWERSCALE = 3
867
+
868
+ # Connection used for connecting to third-party services.
869
+ THIRD_PARTY_SERVICE = 4
870
+ end
871
+
872
+ # Possible types for RoutingMode
873
+ module RoutingMode
874
+ # The default value. This value should never be used.
875
+ ROUTING_MODE_UNSPECIFIED = 0
876
+
877
+ # Global Routing Mode
878
+ GLOBAL = 1
879
+
880
+ # Regional Routing Mode
881
+ REGIONAL = 2
882
+ end
883
+
884
+ # Enum PeeringState defines the possible states of peering between service
885
+ # network and the vpc network peered to service network
886
+ module PeeringState
887
+ # The default value. This value is used if the peering state is omitted or
888
+ # unknown.
889
+ PEERING_STATE_UNSPECIFIED = 0
890
+
891
+ # The peering is in active state.
892
+ PEERING_ACTIVE = 1
893
+
894
+ # The peering is in inactive state.
895
+ PEERING_INACTIVE = 2
896
+ end
897
+ end
671
898
  end
672
899
  end
673
900
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-vmware_engine-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-06 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.1
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -263,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
263
263
  - !ruby/object:Gem::Version
264
264
  version: '0'
265
265
  requirements: []
266
- rubygems_version: 3.4.2
266
+ rubygems_version: 3.4.19
267
267
  signing_key:
268
268
  specification_version: 4
269
269
  summary: The Google VMware Engine API lets you programmatically manage VMware environments.