google-cloud-vmware_engine-v1 0.8.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/vmware_engine/v1/version.rb +1 -1
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/client.rb +151 -74
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/operations.rb +13 -5
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/rest/client.rb +151 -74
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/rest/operations.rb +11 -4
- data/lib/google/cloud/vmwareengine/v1/vmwareengine_pb.rb +4 -4
- data/lib/google/cloud/vmwareengine/v1/vmwareengine_resources_pb.rb +7 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/field_info.rb +26 -3
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb +110 -0
- metadata +2 -2
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
@@ -250,6 +250,9 @@ module Google
|
|
250
250
|
# Output only. True if the cluster is a management cluster; false otherwise.
|
251
251
|
# There can only be one management cluster in a private cloud
|
252
252
|
# and it has to be the first one.
|
253
|
+
# @!attribute [rw] autoscaling_settings
|
254
|
+
# @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings]
|
255
|
+
# Optional. Configuration of the autoscaling applied to this cluster.
|
253
256
|
# @!attribute [r] uid
|
254
257
|
# @return [::String]
|
255
258
|
# Output only. System-generated unique identifier for the resource.
|
@@ -633,6 +636,15 @@ module Google
|
|
633
636
|
|
634
637
|
# TCP
|
635
638
|
TCP = 2
|
639
|
+
|
640
|
+
# TLS
|
641
|
+
TLS = 3
|
642
|
+
|
643
|
+
# SSL
|
644
|
+
SSL = 4
|
645
|
+
|
646
|
+
# RELP
|
647
|
+
RELP = 5
|
636
648
|
end
|
637
649
|
|
638
650
|
# Defines possible types of component that produces logs.
|
@@ -803,6 +815,9 @@ module Google
|
|
803
815
|
|
804
816
|
# The appliance is being deployed.
|
805
817
|
CREATING = 2
|
818
|
+
|
819
|
+
# The appliance is being activated.
|
820
|
+
ACTIVATING = 3
|
806
821
|
end
|
807
822
|
end
|
808
823
|
|
@@ -866,6 +881,98 @@ module Google
|
|
866
881
|
end
|
867
882
|
end
|
868
883
|
|
884
|
+
# Autoscaling settings define the rules used by VMware Engine to
|
885
|
+
# automatically scale-out and scale-in the clusters in a private cloud.
|
886
|
+
# @!attribute [rw] autoscaling_policies
|
887
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::AutoscalingPolicy}]
|
888
|
+
# Required. The map with autoscaling policies applied to the cluster.
|
889
|
+
# The key is the identifier of the policy.
|
890
|
+
# It must meet the following requirements:
|
891
|
+
#
|
892
|
+
# * Only contains 1-63 alphanumeric characters and hyphens
|
893
|
+
# * Begins with an alphabetical character
|
894
|
+
# * Ends with a non-hyphen character
|
895
|
+
# * Not formatted as a UUID
|
896
|
+
# * Complies with [RFC
|
897
|
+
# 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
|
898
|
+
#
|
899
|
+
# Currently there map must contain only one element
|
900
|
+
# that describes the autoscaling policy for compute nodes.
|
901
|
+
# @!attribute [rw] min_cluster_node_count
|
902
|
+
# @return [::Integer]
|
903
|
+
# Optional. Minimum number of nodes of any type in a cluster.
|
904
|
+
# If not specified the default limits apply.
|
905
|
+
# @!attribute [rw] max_cluster_node_count
|
906
|
+
# @return [::Integer]
|
907
|
+
# Optional. Maximum number of nodes of any type in a cluster.
|
908
|
+
# If not specified the default limits apply.
|
909
|
+
# @!attribute [rw] cool_down_period
|
910
|
+
# @return [::Google::Protobuf::Duration]
|
911
|
+
# Optional. The minimum duration between consecutive autoscale operations.
|
912
|
+
# It starts once addition or removal of nodes is fully completed.
|
913
|
+
# Defaults to 30 minutes if not specified. Cool down period must be in whole
|
914
|
+
# minutes (for example, 30, 31, 50, 180 minutes).
|
915
|
+
class AutoscalingSettings
|
916
|
+
include ::Google::Protobuf::MessageExts
|
917
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
918
|
+
|
919
|
+
# Thresholds define the utilization of resources triggering
|
920
|
+
# scale-out and scale-in operations.
|
921
|
+
# @!attribute [rw] scale_out
|
922
|
+
# @return [::Integer]
|
923
|
+
# Required. The utilization triggering the scale-out operation in percent.
|
924
|
+
# @!attribute [rw] scale_in
|
925
|
+
# @return [::Integer]
|
926
|
+
# Required. The utilization triggering the scale-in operation in percent.
|
927
|
+
class Thresholds
|
928
|
+
include ::Google::Protobuf::MessageExts
|
929
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
930
|
+
end
|
931
|
+
|
932
|
+
# Autoscaling policy describes the behavior of the autoscaling
|
933
|
+
# with respect to the resource utilization.
|
934
|
+
# The scale-out operation is initiated if the utilization
|
935
|
+
# exceeds ANY of the respective thresholds.
|
936
|
+
# The scale-in operation is initiated if the utilization
|
937
|
+
# is below ALL of the respective thresholds.
|
938
|
+
# @!attribute [rw] node_type_id
|
939
|
+
# @return [::String]
|
940
|
+
# Required. The canonical identifier of the node type to add or remove.
|
941
|
+
# Corresponds to the `NodeType`.
|
942
|
+
# @!attribute [rw] scale_out_size
|
943
|
+
# @return [::Integer]
|
944
|
+
# Required. Number of nodes to add to a cluster during a scale-out
|
945
|
+
# operation. Must be divisible by 2 for stretched clusters. During a
|
946
|
+
# scale-in operation only one node (or 2 for stretched clusters) are
|
947
|
+
# removed in a single iteration.
|
948
|
+
# @!attribute [rw] cpu_thresholds
|
949
|
+
# @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds]
|
950
|
+
# Optional. Utilization thresholds pertaining to CPU utilization.
|
951
|
+
# @!attribute [rw] granted_memory_thresholds
|
952
|
+
# @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds]
|
953
|
+
# Optional. Utilization thresholds pertaining to amount of granted memory.
|
954
|
+
# @!attribute [rw] consumed_memory_thresholds
|
955
|
+
# @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds]
|
956
|
+
# Optional. Utilization thresholds pertaining to amount of consumed memory.
|
957
|
+
# @!attribute [rw] storage_thresholds
|
958
|
+
# @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds]
|
959
|
+
# Optional. Utilization thresholds pertaining to amount of consumed
|
960
|
+
# storage.
|
961
|
+
class AutoscalingPolicy
|
962
|
+
include ::Google::Protobuf::MessageExts
|
963
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
964
|
+
end
|
965
|
+
|
966
|
+
# @!attribute [rw] key
|
967
|
+
# @return [::String]
|
968
|
+
# @!attribute [rw] value
|
969
|
+
# @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::AutoscalingPolicy]
|
970
|
+
class AutoscalingPoliciesEntry
|
971
|
+
include ::Google::Protobuf::MessageExts
|
972
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
973
|
+
end
|
974
|
+
end
|
975
|
+
|
869
976
|
# DNS forwarding config.
|
870
977
|
# This config defines a list of domain to name server mappings,
|
871
978
|
# and is attached to the private cloud for custom domain resolution.
|
@@ -1035,6 +1142,9 @@ module Google
|
|
1035
1142
|
|
1036
1143
|
# Peering connection used for connecting to Dell PowerScale Filers
|
1037
1144
|
DELL_POWERSCALE = 6
|
1145
|
+
|
1146
|
+
# Peering connection used for connecting to Google Cloud NetApp Volumes.
|
1147
|
+
GOOGLE_CLOUD_NETAPP_VOLUMES = 7
|
1038
1148
|
end
|
1039
1149
|
end
|
1040
1150
|
|
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.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|