google-api-client 0.37.0 → 0.37.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/CHANGELOG.md +76 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +236 -22
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +104 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +135 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +24 -22
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +64 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +31 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +10 -1
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +98 -34
- data/generated/google/apis/cloudasset_v1/representations.rb +19 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +152 -151
- data/generated/google/apis/cloudidentity_v1/representations.rb +72 -72
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +0 -560
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +0 -226
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +144 -0
- data/generated/google/apis/cloudtrace_v2beta1/representations.rb +82 -0
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +190 -46
- data/generated/google/apis/compute_alpha/representations.rb +35 -14
- data/generated/google/apis/compute_alpha/service.rb +40 -56
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +98 -24
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +1 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +123 -19
- data/generated/google/apis/compute_v1/representations.rb +19 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +4 -3
- data/generated/google/apis/datacatalog_v1beta1/service.rb +190 -17
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +40 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +67 -0
- data/generated/google/apis/dataproc_v1/representations.rb +23 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +2 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +6 -19
- data/generated/google/apis/file_v1/service.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +4 -17
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +10 -5
- data/generated/google/apis/fitness_v1/service.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +3 -3
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +84 -0
- data/generated/google/apis/logging_v2/representations.rb +33 -0
- data/generated/google/apis/logging_v2/service.rb +680 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +21 -18
- data/generated/google/apis/monitoring_v3/service.rb +27 -18
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1.rb +35 -0
- data/generated/google/apis/secretmanager_v1/classes.rb +970 -0
- data/generated/google/apis/secretmanager_v1/representations.rb +388 -0
- data/generated/google/apis/secretmanager_v1/service.rb +675 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +36 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +19 -0
- data/generated/google/apis/servicenetworking_v1/representations.rb +2 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +94 -85
- data/generated/google/apis/storagetransfer_v1/service.rb +17 -11
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +29 -0
- data/generated/google/apis/testing_v1/representations.rb +15 -0
- data/generated/google/apis/toolresults_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -3
|
@@ -2674,12 +2674,6 @@ module Google
|
|
|
2674
2674
|
include Google::Apis::Core::JsonObjectSupport
|
|
2675
2675
|
end
|
|
2676
2676
|
|
|
2677
|
-
class NodeGroupsSetAutoscalingPolicyRequest
|
|
2678
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2679
|
-
|
|
2680
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
2681
|
-
end
|
|
2682
|
-
|
|
2683
2677
|
class NodeGroupsSetNodeTemplateRequest
|
|
2684
2678
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2685
2679
|
|
|
@@ -3964,6 +3958,12 @@ module Google
|
|
|
3964
3958
|
include Google::Apis::Core::JsonObjectSupport
|
|
3965
3959
|
end
|
|
3966
3960
|
|
|
3961
|
+
class Screenshot
|
|
3962
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3963
|
+
|
|
3964
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3965
|
+
end
|
|
3966
|
+
|
|
3967
3967
|
class SdsConfig
|
|
3968
3968
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3969
3969
|
|
|
@@ -4048,6 +4048,12 @@ module Google
|
|
|
4048
4048
|
include Google::Apis::Core::JsonObjectSupport
|
|
4049
4049
|
end
|
|
4050
4050
|
|
|
4051
|
+
class SecurityPolicyRuleMatcherConfigLayer4Config
|
|
4052
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4053
|
+
|
|
4054
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4055
|
+
end
|
|
4056
|
+
|
|
4051
4057
|
class SecurityPolicyRuleRateLimitOptions
|
|
4052
4058
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4053
4059
|
|
|
@@ -5818,6 +5824,7 @@ module Google
|
|
|
5818
5824
|
class AutoscalingPolicyCpuUtilization
|
|
5819
5825
|
# @private
|
|
5820
5826
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5827
|
+
property :predictive_method, as: 'predictiveMethod'
|
|
5821
5828
|
property :utilization_target, as: 'utilizationTarget'
|
|
5822
5829
|
end
|
|
5823
5830
|
end
|
|
@@ -10314,14 +10321,6 @@ module Google
|
|
|
10314
10321
|
end
|
|
10315
10322
|
end
|
|
10316
10323
|
|
|
10317
|
-
class NodeGroupsSetAutoscalingPolicyRequest
|
|
10318
|
-
# @private
|
|
10319
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10320
|
-
property :autoscaling_policy, as: 'autoscalingPolicy', class: Google::Apis::ComputeAlpha::NodeGroupAutoscalingPolicy, decorator: Google::Apis::ComputeAlpha::NodeGroupAutoscalingPolicy::Representation
|
|
10321
|
-
|
|
10322
|
-
end
|
|
10323
|
-
end
|
|
10324
|
-
|
|
10325
10324
|
class NodeGroupsSetNodeTemplateRequest
|
|
10326
10325
|
# @private
|
|
10327
10326
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -12650,6 +12649,14 @@ module Google
|
|
|
12650
12649
|
end
|
|
12651
12650
|
end
|
|
12652
12651
|
|
|
12652
|
+
class Screenshot
|
|
12653
|
+
# @private
|
|
12654
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12655
|
+
property :contents, as: 'contents'
|
|
12656
|
+
property :kind, as: 'kind'
|
|
12657
|
+
end
|
|
12658
|
+
end
|
|
12659
|
+
|
|
12653
12660
|
class SdsConfig
|
|
12654
12661
|
# @private
|
|
12655
12662
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -12683,12 +12690,14 @@ module Google
|
|
|
12683
12690
|
|
|
12684
12691
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
12685
12692
|
property :description, as: 'description'
|
|
12693
|
+
property :display_name, as: 'displayName'
|
|
12686
12694
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
|
12687
12695
|
property :id, :numeric_string => true, as: 'id'
|
|
12688
12696
|
property :kind, as: 'kind'
|
|
12689
12697
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
|
12690
12698
|
hash :labels, as: 'labels'
|
|
12691
12699
|
property :name, as: 'name'
|
|
12700
|
+
property :parent, as: 'parent'
|
|
12692
12701
|
property :rule_tuple_count, as: 'ruleTupleCount'
|
|
12693
12702
|
collection :rules, as: 'rules', class: Google::Apis::ComputeAlpha::SecurityPolicyRule, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
|
|
12694
12703
|
|
|
@@ -12702,6 +12711,7 @@ module Google
|
|
|
12702
12711
|
# @private
|
|
12703
12712
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12704
12713
|
property :attachment_id, as: 'attachmentId'
|
|
12714
|
+
property :display_name, as: 'displayName'
|
|
12705
12715
|
property :name, as: 'name'
|
|
12706
12716
|
property :security_policy_id, as: 'securityPolicyId'
|
|
12707
12717
|
end
|
|
@@ -12768,6 +12778,7 @@ module Google
|
|
|
12768
12778
|
|
|
12769
12779
|
property :rule_tuple_count, as: 'ruleTupleCount'
|
|
12770
12780
|
collection :target_resources, as: 'targetResources'
|
|
12781
|
+
collection :target_service_accounts, as: 'targetServiceAccounts'
|
|
12771
12782
|
end
|
|
12772
12783
|
end
|
|
12773
12784
|
|
|
@@ -12788,6 +12799,8 @@ module Google
|
|
|
12788
12799
|
collection :dest_ip_ranges, as: 'destIpRanges'
|
|
12789
12800
|
collection :dest_ports, as: 'destPorts', class: Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherConfigDestinationPort, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherConfigDestinationPort::Representation
|
|
12790
12801
|
|
|
12802
|
+
collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherConfigLayer4Config, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherConfigLayer4Config::Representation
|
|
12803
|
+
|
|
12791
12804
|
collection :src_ip_ranges, as: 'srcIpRanges'
|
|
12792
12805
|
end
|
|
12793
12806
|
end
|
|
@@ -12800,6 +12813,14 @@ module Google
|
|
|
12800
12813
|
end
|
|
12801
12814
|
end
|
|
12802
12815
|
|
|
12816
|
+
class SecurityPolicyRuleMatcherConfigLayer4Config
|
|
12817
|
+
# @private
|
|
12818
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12819
|
+
property :ip_protocol, as: 'ipProtocol'
|
|
12820
|
+
collection :ports, as: 'ports'
|
|
12821
|
+
end
|
|
12822
|
+
end
|
|
12823
|
+
|
|
12803
12824
|
class SecurityPolicyRuleRateLimitOptions
|
|
12804
12825
|
# @private
|
|
12805
12826
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -10620,6 +10620,45 @@ module Google
|
|
|
10620
10620
|
execute_or_queue_command(command, &block)
|
|
10621
10621
|
end
|
|
10622
10622
|
|
|
10623
|
+
# Returns the screenshot from the specified instance.
|
|
10624
|
+
# @param [String] project
|
|
10625
|
+
# Project ID for this request.
|
|
10626
|
+
# @param [String] zone
|
|
10627
|
+
# The name of the zone for this request.
|
|
10628
|
+
# @param [String] instance
|
|
10629
|
+
# Name of the instance scoping this request.
|
|
10630
|
+
# @param [String] fields
|
|
10631
|
+
# Selector specifying which fields to include in a partial response.
|
|
10632
|
+
# @param [String] quota_user
|
|
10633
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
10634
|
+
# characters.
|
|
10635
|
+
# @param [String] user_ip
|
|
10636
|
+
# Deprecated. Please use quotaUser instead.
|
|
10637
|
+
# @param [Google::Apis::RequestOptions] options
|
|
10638
|
+
# Request-specific options
|
|
10639
|
+
#
|
|
10640
|
+
# @yield [result, err] Result & error if block supplied
|
|
10641
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Screenshot] parsed result object
|
|
10642
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
10643
|
+
#
|
|
10644
|
+
# @return [Google::Apis::ComputeAlpha::Screenshot]
|
|
10645
|
+
#
|
|
10646
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10647
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10648
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10649
|
+
def get_instance_screenshot(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10650
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/screenshot', options)
|
|
10651
|
+
command.response_representation = Google::Apis::ComputeAlpha::Screenshot::Representation
|
|
10652
|
+
command.response_class = Google::Apis::ComputeAlpha::Screenshot
|
|
10653
|
+
command.params['project'] = project unless project.nil?
|
|
10654
|
+
command.params['zone'] = zone unless zone.nil?
|
|
10655
|
+
command.params['instance'] = instance unless instance.nil?
|
|
10656
|
+
command.query['fields'] = fields unless fields.nil?
|
|
10657
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10658
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
10659
|
+
execute_or_queue_command(command, &block)
|
|
10660
|
+
end
|
|
10661
|
+
|
|
10623
10662
|
# Returns the last 1 MB of serial port output from the specified instance.
|
|
10624
10663
|
# @param [String] project
|
|
10625
10664
|
# Project ID for this request.
|
|
@@ -16600,60 +16639,6 @@ module Google
|
|
|
16600
16639
|
execute_or_queue_command(command, &block)
|
|
16601
16640
|
end
|
|
16602
16641
|
|
|
16603
|
-
# Sets the autoscaling policy of the node group.
|
|
16604
|
-
# @param [String] project
|
|
16605
|
-
# Project ID for this request.
|
|
16606
|
-
# @param [String] zone
|
|
16607
|
-
# The name of the zone for this request.
|
|
16608
|
-
# @param [String] node_group
|
|
16609
|
-
# Name of the NodeGroup resource to update.
|
|
16610
|
-
# @param [Google::Apis::ComputeAlpha::NodeGroupsSetAutoscalingPolicyRequest] node_groups_set_autoscaling_policy_request_object
|
|
16611
|
-
# @param [String] request_id
|
|
16612
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
16613
|
-
# that if you must retry your request, the server will know to ignore the
|
|
16614
|
-
# request if it has already been completed.
|
|
16615
|
-
# For example, consider a situation where you make an initial request and the
|
|
16616
|
-
# request times out. If you make the request again with the same request ID, the
|
|
16617
|
-
# server can check if original operation with the same request ID was received,
|
|
16618
|
-
# and if so, will ignore the second request. This prevents clients from
|
|
16619
|
-
# accidentally creating duplicate commitments.
|
|
16620
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
16621
|
-
# supported (00000000-0000-0000-0000-000000000000).
|
|
16622
|
-
# @param [String] fields
|
|
16623
|
-
# Selector specifying which fields to include in a partial response.
|
|
16624
|
-
# @param [String] quota_user
|
|
16625
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
16626
|
-
# characters.
|
|
16627
|
-
# @param [String] user_ip
|
|
16628
|
-
# Deprecated. Please use quotaUser instead.
|
|
16629
|
-
# @param [Google::Apis::RequestOptions] options
|
|
16630
|
-
# Request-specific options
|
|
16631
|
-
#
|
|
16632
|
-
# @yield [result, err] Result & error if block supplied
|
|
16633
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
|
16634
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
16635
|
-
#
|
|
16636
|
-
# @return [Google::Apis::ComputeAlpha::Operation]
|
|
16637
|
-
#
|
|
16638
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
16639
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16640
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16641
|
-
def set_node_group_autoscaling_policy(project, zone, node_group, node_groups_set_autoscaling_policy_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16642
|
-
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/setAutoscalingPolicy', options)
|
|
16643
|
-
command.request_representation = Google::Apis::ComputeAlpha::NodeGroupsSetAutoscalingPolicyRequest::Representation
|
|
16644
|
-
command.request_object = node_groups_set_autoscaling_policy_request_object
|
|
16645
|
-
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
16646
|
-
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
16647
|
-
command.params['project'] = project unless project.nil?
|
|
16648
|
-
command.params['zone'] = zone unless zone.nil?
|
|
16649
|
-
command.params['nodeGroup'] = node_group unless node_group.nil?
|
|
16650
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
|
16651
|
-
command.query['fields'] = fields unless fields.nil?
|
|
16652
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
16653
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
16654
|
-
execute_or_queue_command(command, &block)
|
|
16655
|
-
end
|
|
16656
|
-
|
|
16657
16642
|
# Sets the access control policy on the specified resource. Replaces any
|
|
16658
16643
|
# existing policy.
|
|
16659
16644
|
# @param [String] project
|
|
@@ -20877,8 +20862,7 @@ module Google
|
|
|
20877
20862
|
execute_or_queue_command(command, &block)
|
|
20878
20863
|
end
|
|
20879
20864
|
|
|
20880
|
-
#
|
|
20881
|
-
# the commitments.
|
|
20865
|
+
# Transfers GPUs or local SSDs between reservations within commitments.
|
|
20882
20866
|
# @param [String] project
|
|
20883
20867
|
# Project ID for this request.
|
|
20884
20868
|
# @param [String] region
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
|
26
26
|
module ComputeBeta
|
|
27
27
|
VERSION = 'Beta'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200120'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -3774,9 +3774,26 @@ module Google
|
|
|
3774
3774
|
class Binding
|
|
3775
3775
|
include Google::Apis::Core::Hashable
|
|
3776
3776
|
|
|
3777
|
-
# Represents
|
|
3778
|
-
#
|
|
3779
|
-
#
|
|
3777
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
3778
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
3779
|
+
# documented at https://github.com/google/cel-spec.
|
|
3780
|
+
# Example (Comparison):
|
|
3781
|
+
# title: "Summary size limit" description: "Determines if a summary is less than
|
|
3782
|
+
# 100 chars" expression: "document.summary.size() < 100"
|
|
3783
|
+
# Example (Equality):
|
|
3784
|
+
# title: "Requestor is owner" description: "Determines if requestor is the
|
|
3785
|
+
# document owner" expression: "document.owner == request.auth.claims.email"
|
|
3786
|
+
# Example (Logic):
|
|
3787
|
+
# title: "Public documents" description: "Determine whether the document should
|
|
3788
|
+
# be publicly visible" expression: "document.type != 'private' && document.type !
|
|
3789
|
+
# = 'internal'"
|
|
3790
|
+
# Example (Data Manipulation):
|
|
3791
|
+
# title: "Notification string" description: "Create a notification string with a
|
|
3792
|
+
# timestamp." expression: "'New message received at ' + string(document.
|
|
3793
|
+
# create_time)"
|
|
3794
|
+
# The exact variables and functions that may be referenced within an expression
|
|
3795
|
+
# are determined by the service that evaluates it. See the service documentation
|
|
3796
|
+
# for additional information.
|
|
3780
3797
|
# Corresponds to the JSON property `condition`
|
|
3781
3798
|
# @return [Google::Apis::ComputeBeta::Expr]
|
|
3782
3799
|
attr_accessor :condition
|
|
@@ -6195,33 +6212,48 @@ module Google
|
|
|
6195
6212
|
end
|
|
6196
6213
|
end
|
|
6197
6214
|
|
|
6198
|
-
# Represents
|
|
6199
|
-
#
|
|
6200
|
-
#
|
|
6215
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
6216
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
6217
|
+
# documented at https://github.com/google/cel-spec.
|
|
6218
|
+
# Example (Comparison):
|
|
6219
|
+
# title: "Summary size limit" description: "Determines if a summary is less than
|
|
6220
|
+
# 100 chars" expression: "document.summary.size() < 100"
|
|
6221
|
+
# Example (Equality):
|
|
6222
|
+
# title: "Requestor is owner" description: "Determines if requestor is the
|
|
6223
|
+
# document owner" expression: "document.owner == request.auth.claims.email"
|
|
6224
|
+
# Example (Logic):
|
|
6225
|
+
# title: "Public documents" description: "Determine whether the document should
|
|
6226
|
+
# be publicly visible" expression: "document.type != 'private' && document.type !
|
|
6227
|
+
# = 'internal'"
|
|
6228
|
+
# Example (Data Manipulation):
|
|
6229
|
+
# title: "Notification string" description: "Create a notification string with a
|
|
6230
|
+
# timestamp." expression: "'New message received at ' + string(document.
|
|
6231
|
+
# create_time)"
|
|
6232
|
+
# The exact variables and functions that may be referenced within an expression
|
|
6233
|
+
# are determined by the service that evaluates it. See the service documentation
|
|
6234
|
+
# for additional information.
|
|
6201
6235
|
class Expr
|
|
6202
6236
|
include Google::Apis::Core::Hashable
|
|
6203
6237
|
|
|
6204
|
-
#
|
|
6205
|
-
#
|
|
6238
|
+
# Optional. Description of the expression. This is a longer text which describes
|
|
6239
|
+
# the expression, e.g. when hovered over it in a UI.
|
|
6206
6240
|
# Corresponds to the JSON property `description`
|
|
6207
6241
|
# @return [String]
|
|
6208
6242
|
attr_accessor :description
|
|
6209
6243
|
|
|
6210
6244
|
# Textual representation of an expression in Common Expression Language syntax.
|
|
6211
|
-
# The application context of the containing message determines which well-known
|
|
6212
|
-
# feature set of CEL is supported.
|
|
6213
6245
|
# Corresponds to the JSON property `expression`
|
|
6214
6246
|
# @return [String]
|
|
6215
6247
|
attr_accessor :expression
|
|
6216
6248
|
|
|
6217
|
-
#
|
|
6218
|
-
#
|
|
6249
|
+
# Optional. String indicating the location of the expression for error reporting,
|
|
6250
|
+
# e.g. a file name and a position in the file.
|
|
6219
6251
|
# Corresponds to the JSON property `location`
|
|
6220
6252
|
# @return [String]
|
|
6221
6253
|
attr_accessor :location
|
|
6222
6254
|
|
|
6223
|
-
#
|
|
6224
|
-
#
|
|
6255
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
|
6256
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
|
6225
6257
|
# Corresponds to the JSON property `title`
|
|
6226
6258
|
# @return [String]
|
|
6227
6259
|
attr_accessor :title
|
|
@@ -8936,12 +8968,13 @@ module Google
|
|
|
8936
8968
|
# @return [String]
|
|
8937
8969
|
attr_accessor :instance
|
|
8938
8970
|
|
|
8939
|
-
#
|
|
8971
|
+
# A forwarding rule IP address assigned to this instance.
|
|
8940
8972
|
# Corresponds to the JSON property `ipAddress`
|
|
8941
8973
|
# @return [String]
|
|
8942
8974
|
attr_accessor :ip_address
|
|
8943
8975
|
|
|
8944
|
-
# The port
|
|
8976
|
+
# The named port of the instance group, not necessarily the port that is health-
|
|
8977
|
+
# checked.
|
|
8945
8978
|
# Corresponds to the JSON property `port`
|
|
8946
8979
|
# @return [Fixnum]
|
|
8947
8980
|
attr_accessor :port
|
|
@@ -11457,9 +11490,9 @@ module Google
|
|
|
11457
11490
|
# @return [Array<String>]
|
|
11458
11491
|
attr_accessor :target_pools
|
|
11459
11492
|
|
|
11460
|
-
# The target number of running instances for this managed instance group.
|
|
11461
|
-
#
|
|
11462
|
-
# changes this number.
|
|
11493
|
+
# The target number of running instances for this managed instance group. You
|
|
11494
|
+
# can reduce this number by using the instanceGroupManager deleteInstances or
|
|
11495
|
+
# abandonInstances methods. Resizing the group also changes this number.
|
|
11463
11496
|
# Corresponds to the JSON property `targetSize`
|
|
11464
11497
|
# @return [Fixnum]
|
|
11465
11498
|
attr_accessor :target_size
|
|
@@ -16060,7 +16093,11 @@ module Google
|
|
|
16060
16093
|
end
|
|
16061
16094
|
end
|
|
16062
16095
|
|
|
16063
|
-
#
|
|
16096
|
+
# Represents a machine image resource.
|
|
16097
|
+
# A machine image is a Compute Engine resource that stores all the configuration,
|
|
16098
|
+
# metadata, permissions, and data from one or more disks required to create a
|
|
16099
|
+
# Virtual machine (VM) instance. For more information, see Machine images. (==
|
|
16100
|
+
# resource_for `$api_version`.machineImages ==)
|
|
16064
16101
|
class MachineImage
|
|
16065
16102
|
include Google::Apis::Core::Hashable
|
|
16066
16103
|
|
|
@@ -18188,12 +18225,30 @@ module Google
|
|
|
18188
18225
|
attr_accessor :export_custom_routes
|
|
18189
18226
|
alias_method :export_custom_routes?, :export_custom_routes
|
|
18190
18227
|
|
|
18228
|
+
# Whether subnet routes with public IP range are exported. The default value is
|
|
18229
|
+
# true, all subnet routes are exported. The IPv4 special-use ranges (https://en.
|
|
18230
|
+
# wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and
|
|
18231
|
+
# are not controlled by this field.
|
|
18232
|
+
# Corresponds to the JSON property `exportSubnetRoutesWithPublicIp`
|
|
18233
|
+
# @return [Boolean]
|
|
18234
|
+
attr_accessor :export_subnet_routes_with_public_ip
|
|
18235
|
+
alias_method :export_subnet_routes_with_public_ip?, :export_subnet_routes_with_public_ip
|
|
18236
|
+
|
|
18191
18237
|
# Whether to import the custom routes from peer network.
|
|
18192
18238
|
# Corresponds to the JSON property `importCustomRoutes`
|
|
18193
18239
|
# @return [Boolean]
|
|
18194
18240
|
attr_accessor :import_custom_routes
|
|
18195
18241
|
alias_method :import_custom_routes?, :import_custom_routes
|
|
18196
18242
|
|
|
18243
|
+
# Whether subnet routes with public IP range are imported. The default value is
|
|
18244
|
+
# false. The IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#
|
|
18245
|
+
# Special_addresses) are always imported from peers and are not controlled by
|
|
18246
|
+
# this field.
|
|
18247
|
+
# Corresponds to the JSON property `importSubnetRoutesWithPublicIp`
|
|
18248
|
+
# @return [Boolean]
|
|
18249
|
+
attr_accessor :import_subnet_routes_with_public_ip
|
|
18250
|
+
alias_method :import_subnet_routes_with_public_ip?, :import_subnet_routes_with_public_ip
|
|
18251
|
+
|
|
18197
18252
|
# Name of this peering. Provided by the client when the peering is created. The
|
|
18198
18253
|
# name must comply with RFC1035. Specifically, the name must be 1-63 characters
|
|
18199
18254
|
# long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first
|
|
@@ -18232,7 +18287,9 @@ module Google
|
|
|
18232
18287
|
@auto_create_routes = args[:auto_create_routes] if args.key?(:auto_create_routes)
|
|
18233
18288
|
@exchange_subnet_routes = args[:exchange_subnet_routes] if args.key?(:exchange_subnet_routes)
|
|
18234
18289
|
@export_custom_routes = args[:export_custom_routes] if args.key?(:export_custom_routes)
|
|
18290
|
+
@export_subnet_routes_with_public_ip = args[:export_subnet_routes_with_public_ip] if args.key?(:export_subnet_routes_with_public_ip)
|
|
18235
18291
|
@import_custom_routes = args[:import_custom_routes] if args.key?(:import_custom_routes)
|
|
18292
|
+
@import_subnet_routes_with_public_ip = args[:import_subnet_routes_with_public_ip] if args.key?(:import_subnet_routes_with_public_ip)
|
|
18236
18293
|
@name = args[:name] if args.key?(:name)
|
|
18237
18294
|
@network = args[:network] if args.key?(:network)
|
|
18238
18295
|
@state = args[:state] if args.key?(:state)
|
|
@@ -22450,7 +22507,7 @@ module Google
|
|
|
22450
22507
|
class RegionCommitmentsUpdateReservationsRequest
|
|
22451
22508
|
include Google::Apis::Core::Hashable
|
|
22452
22509
|
|
|
22453
|
-
#
|
|
22510
|
+
# A list of two reservations to transfer GPUs and local SSD between.
|
|
22454
22511
|
# Corresponds to the JSON property `reservations`
|
|
22455
22512
|
# @return [Array<Google::Apis::ComputeBeta::Reservation>]
|
|
22456
22513
|
attr_accessor :reservations
|
|
@@ -27149,9 +27206,26 @@ module Google
|
|
|
27149
27206
|
# @return [Google::Apis::ComputeBeta::SecurityPolicyRuleMatcherConfig]
|
|
27150
27207
|
attr_accessor :config
|
|
27151
27208
|
|
|
27152
|
-
# Represents
|
|
27153
|
-
#
|
|
27154
|
-
#
|
|
27209
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
27210
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
27211
|
+
# documented at https://github.com/google/cel-spec.
|
|
27212
|
+
# Example (Comparison):
|
|
27213
|
+
# title: "Summary size limit" description: "Determines if a summary is less than
|
|
27214
|
+
# 100 chars" expression: "document.summary.size() < 100"
|
|
27215
|
+
# Example (Equality):
|
|
27216
|
+
# title: "Requestor is owner" description: "Determines if requestor is the
|
|
27217
|
+
# document owner" expression: "document.owner == request.auth.claims.email"
|
|
27218
|
+
# Example (Logic):
|
|
27219
|
+
# title: "Public documents" description: "Determine whether the document should
|
|
27220
|
+
# be publicly visible" expression: "document.type != 'private' && document.type !
|
|
27221
|
+
# = 'internal'"
|
|
27222
|
+
# Example (Data Manipulation):
|
|
27223
|
+
# title: "Notification string" description: "Create a notification string with a
|
|
27224
|
+
# timestamp." expression: "'New message received at ' + string(document.
|
|
27225
|
+
# create_time)"
|
|
27226
|
+
# The exact variables and functions that may be referenced within an expression
|
|
27227
|
+
# are determined by the service that evaluates it. See the service documentation
|
|
27228
|
+
# for additional information.
|
|
27155
27229
|
# Corresponds to the JSON property `expr`
|
|
27156
27230
|
# @return [Google::Apis::ComputeBeta::Expr]
|
|
27157
27231
|
attr_accessor :expr
|