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
|
@@ -432,6 +432,98 @@ module Google
|
|
|
432
432
|
execute_or_queue_command(command, &block)
|
|
433
433
|
end
|
|
434
434
|
|
|
435
|
+
# Replace all existing Access Levels in an Access
|
|
436
|
+
# Policy with
|
|
437
|
+
# the Access Levels provided. This
|
|
438
|
+
# is done within one transaction. The longrunning operation from this RPC
|
|
439
|
+
# will have a successful status once all replacements have propagated to
|
|
440
|
+
# long-lasting storage. Replacements containing errors will result in an
|
|
441
|
+
# error response for the first error encountered and the transaction will be
|
|
442
|
+
# cancelled. Operation.response field will contain
|
|
443
|
+
# ReplaceAccessLevelsResponse. Removing Access Levels contained in existing
|
|
444
|
+
# Service Perimeters will result in
|
|
445
|
+
# error.
|
|
446
|
+
# @param [String] parent
|
|
447
|
+
# Required. Resource name for the access policy which owns these
|
|
448
|
+
# Access Levels.
|
|
449
|
+
# Format: `accessPolicies/`policy_id``
|
|
450
|
+
# @param [Google::Apis::AccesscontextmanagerV1::ReplaceAccessLevelsRequest] replace_access_levels_request_object
|
|
451
|
+
# @param [String] fields
|
|
452
|
+
# Selector specifying which fields to include in a partial response.
|
|
453
|
+
# @param [String] quota_user
|
|
454
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
455
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
456
|
+
# @param [Google::Apis::RequestOptions] options
|
|
457
|
+
# Request-specific options
|
|
458
|
+
#
|
|
459
|
+
# @yield [result, err] Result & error if block supplied
|
|
460
|
+
# @yieldparam result [Google::Apis::AccesscontextmanagerV1::Operation] parsed result object
|
|
461
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
462
|
+
#
|
|
463
|
+
# @return [Google::Apis::AccesscontextmanagerV1::Operation]
|
|
464
|
+
#
|
|
465
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
466
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
467
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
468
|
+
def replace_access_policy_access_level_all(parent, replace_access_levels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
469
|
+
command = make_simple_command(:post, 'v1/{+parent}/accessLevels:replaceAll', options)
|
|
470
|
+
command.request_representation = Google::Apis::AccesscontextmanagerV1::ReplaceAccessLevelsRequest::Representation
|
|
471
|
+
command.request_object = replace_access_levels_request_object
|
|
472
|
+
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
|
|
473
|
+
command.response_class = Google::Apis::AccesscontextmanagerV1::Operation
|
|
474
|
+
command.params['parent'] = parent unless parent.nil?
|
|
475
|
+
command.query['fields'] = fields unless fields.nil?
|
|
476
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
477
|
+
execute_or_queue_command(command, &block)
|
|
478
|
+
end
|
|
479
|
+
|
|
480
|
+
# Commit the dry-run spec for all the Service Perimeters in an
|
|
481
|
+
# Access Policy.
|
|
482
|
+
# A commit operation on a Service Perimeter involves copying its `spec` field
|
|
483
|
+
# to that Service Perimeter's `status` field. Only Service Perimeters with
|
|
484
|
+
# `use_explicit_dry_run_spec` field set to true are affected by a commit
|
|
485
|
+
# operation. The longrunning operation from this RPC will have a successful
|
|
486
|
+
# status once the dry-run specs for all the Service Perimeters have been
|
|
487
|
+
# committed. If a commit fails, it will cause the longrunning operation to
|
|
488
|
+
# return an error response and the entire commit operation will be cancelled.
|
|
489
|
+
# When successful, Operation.response field will contain
|
|
490
|
+
# CommitServicePerimetersResponse. The `dry_run` and the `spec` fields will
|
|
491
|
+
# be cleared after a successful commit operation.
|
|
492
|
+
# @param [String] parent
|
|
493
|
+
# Required. Resource name for the parent Access Policy which owns all
|
|
494
|
+
# Service Perimeters in scope for
|
|
495
|
+
# the commit operation.
|
|
496
|
+
# Format: `accessPolicies/`policy_id``
|
|
497
|
+
# @param [Google::Apis::AccesscontextmanagerV1::CommitServicePerimetersRequest] commit_service_perimeters_request_object
|
|
498
|
+
# @param [String] fields
|
|
499
|
+
# Selector specifying which fields to include in a partial response.
|
|
500
|
+
# @param [String] quota_user
|
|
501
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
502
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
503
|
+
# @param [Google::Apis::RequestOptions] options
|
|
504
|
+
# Request-specific options
|
|
505
|
+
#
|
|
506
|
+
# @yield [result, err] Result & error if block supplied
|
|
507
|
+
# @yieldparam result [Google::Apis::AccesscontextmanagerV1::Operation] parsed result object
|
|
508
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
509
|
+
#
|
|
510
|
+
# @return [Google::Apis::AccesscontextmanagerV1::Operation]
|
|
511
|
+
#
|
|
512
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
513
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
514
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
515
|
+
def commit_service_perimeters(parent, commit_service_perimeters_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
516
|
+
command = make_simple_command(:post, 'v1/{+parent}/servicePerimeters:commit', options)
|
|
517
|
+
command.request_representation = Google::Apis::AccesscontextmanagerV1::CommitServicePerimetersRequest::Representation
|
|
518
|
+
command.request_object = commit_service_perimeters_request_object
|
|
519
|
+
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
|
|
520
|
+
command.response_class = Google::Apis::AccesscontextmanagerV1::Operation
|
|
521
|
+
command.params['parent'] = parent unless parent.nil?
|
|
522
|
+
command.query['fields'] = fields unless fields.nil?
|
|
523
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
524
|
+
execute_or_queue_command(command, &block)
|
|
525
|
+
end
|
|
526
|
+
|
|
435
527
|
# Create an Service Perimeter. The
|
|
436
528
|
# longrunning operation from this RPC will have a successful status once the
|
|
437
529
|
# Service Perimeter has
|
|
@@ -622,6 +714,49 @@ module Google
|
|
|
622
714
|
execute_or_queue_command(command, &block)
|
|
623
715
|
end
|
|
624
716
|
|
|
717
|
+
# Replace all existing Service Perimeters in an
|
|
718
|
+
# Access Policy
|
|
719
|
+
# with the Service Perimeters provided.
|
|
720
|
+
# This is done within one transaction. The longrunning operation from this
|
|
721
|
+
# RPC will have a successful status once all replacements have propagated to
|
|
722
|
+
# long-lasting storage. Replacements containing errors will result in an
|
|
723
|
+
# error response for the first error encountered and the transaction will be
|
|
724
|
+
# cancelled. Operation.response field will contain
|
|
725
|
+
# ReplaceServicePerimetersResponse.
|
|
726
|
+
# @param [String] parent
|
|
727
|
+
# Required. Resource name for the access policy which owns these
|
|
728
|
+
# Service Perimeters.
|
|
729
|
+
# Format: `accessPolicies/`policy_id``
|
|
730
|
+
# @param [Google::Apis::AccesscontextmanagerV1::ReplaceServicePerimetersRequest] replace_service_perimeters_request_object
|
|
731
|
+
# @param [String] fields
|
|
732
|
+
# Selector specifying which fields to include in a partial response.
|
|
733
|
+
# @param [String] quota_user
|
|
734
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
735
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
736
|
+
# @param [Google::Apis::RequestOptions] options
|
|
737
|
+
# Request-specific options
|
|
738
|
+
#
|
|
739
|
+
# @yield [result, err] Result & error if block supplied
|
|
740
|
+
# @yieldparam result [Google::Apis::AccesscontextmanagerV1::Operation] parsed result object
|
|
741
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
742
|
+
#
|
|
743
|
+
# @return [Google::Apis::AccesscontextmanagerV1::Operation]
|
|
744
|
+
#
|
|
745
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
746
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
747
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
748
|
+
def replace_access_policy_service_perimeter_all(parent, replace_service_perimeters_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
749
|
+
command = make_simple_command(:post, 'v1/{+parent}/servicePerimeters:replaceAll', options)
|
|
750
|
+
command.request_representation = Google::Apis::AccesscontextmanagerV1::ReplaceServicePerimetersRequest::Representation
|
|
751
|
+
command.request_object = replace_service_perimeters_request_object
|
|
752
|
+
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
|
|
753
|
+
command.response_class = Google::Apis::AccesscontextmanagerV1::Operation
|
|
754
|
+
command.params['parent'] = parent unless parent.nil?
|
|
755
|
+
command.query['fields'] = fields unless fields.nil?
|
|
756
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
757
|
+
execute_or_queue_command(command, &block)
|
|
758
|
+
end
|
|
759
|
+
|
|
625
760
|
# Starts asynchronous cancellation on a long-running operation. The server
|
|
626
761
|
# makes a best effort to cancel the operation, but success is not
|
|
627
762
|
# guaranteed. If the server doesn't support this method, it returns
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
|
|
26
26
|
module AccesscontextmanagerV1beta
|
|
27
27
|
VERSION = 'V1beta'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200215'
|
|
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'
|
|
@@ -22,8 +22,9 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module AccesscontextmanagerV1beta
|
|
24
24
|
|
|
25
|
-
# An `AccessLevel` is a label that can be applied to requests to
|
|
26
|
-
# along with a list of requirements necessary for the label to be
|
|
25
|
+
# An `AccessLevel` is a label that can be applied to requests to Google Cloud
|
|
26
|
+
# services, along with a list of requirements necessary for the label to be
|
|
27
|
+
# applied.
|
|
27
28
|
class AccessLevel
|
|
28
29
|
include Google::Apis::Core::Hashable
|
|
29
30
|
|
|
@@ -83,10 +84,10 @@ module Google
|
|
|
83
84
|
end
|
|
84
85
|
|
|
85
86
|
# `AccessPolicy` is a container for `AccessLevels` (which define the necessary
|
|
86
|
-
# attributes to use
|
|
87
|
-
# of services able to freely pass data within a perimeter). An
|
|
88
|
-
# globally visible within an organization, and the
|
|
89
|
-
# apply to all projects within an organization.
|
|
87
|
+
# attributes to use Google Cloud services) and `ServicePerimeters` (which
|
|
88
|
+
# define regions of services able to freely pass data within a perimeter). An
|
|
89
|
+
# access policy is globally visible within an organization, and the
|
|
90
|
+
# restrictions it specifies apply to all projects within an organization.
|
|
90
91
|
class AccessPolicy
|
|
91
92
|
include Google::Apis::Core::Hashable
|
|
92
93
|
|
|
@@ -588,15 +589,16 @@ module Google
|
|
|
588
589
|
end
|
|
589
590
|
end
|
|
590
591
|
|
|
591
|
-
# `ServicePerimeter` describes a set of
|
|
592
|
-
# and export data amongst themselves, but not export outside of the
|
|
592
|
+
# `ServicePerimeter` describes a set of Google Cloud resources which can freely
|
|
593
|
+
# import and export data amongst themselves, but not export outside of the
|
|
593
594
|
# `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
|
|
594
595
|
# has a target outside of the `ServicePerimeter`, the request will be blocked.
|
|
595
596
|
# Otherwise the request is allowed. There are two types of Service Perimeter -
|
|
596
|
-
# Regular and Bridge. Regular Service Perimeters cannot overlap, a single
|
|
597
|
-
# project can only belong to a single regular Service Perimeter.
|
|
598
|
-
# Perimeter Bridges can contain only
|
|
599
|
-
# project may belong to multiple Service Perimeter
|
|
597
|
+
# Regular and Bridge. Regular Service Perimeters cannot overlap, a single
|
|
598
|
+
# Google Cloud project can only belong to a single regular Service Perimeter.
|
|
599
|
+
# Service Perimeter Bridges can contain only Google Cloud projects as members,
|
|
600
|
+
# a single Google Cloud project may belong to multiple Service Perimeter
|
|
601
|
+
# Bridges.
|
|
600
602
|
class ServicePerimeter
|
|
601
603
|
include Google::Apis::Core::Hashable
|
|
602
604
|
|
|
@@ -628,8 +630,8 @@ module Google
|
|
|
628
630
|
# @return [String]
|
|
629
631
|
attr_accessor :perimeter_type
|
|
630
632
|
|
|
631
|
-
# `ServicePerimeterConfig` specifies a set of
|
|
632
|
-
# specific Service Perimeter configuration.
|
|
633
|
+
# `ServicePerimeterConfig` specifies a set of Google Cloud resources that
|
|
634
|
+
# describe specific Service Perimeter configuration.
|
|
633
635
|
# Corresponds to the JSON property `status`
|
|
634
636
|
# @return [Google::Apis::AccesscontextmanagerV1beta::ServicePerimeterConfig]
|
|
635
637
|
attr_accessor :status
|
|
@@ -660,8 +662,8 @@ module Google
|
|
|
660
662
|
end
|
|
661
663
|
end
|
|
662
664
|
|
|
663
|
-
# `ServicePerimeterConfig` specifies a set of
|
|
664
|
-
# specific Service Perimeter configuration.
|
|
665
|
+
# `ServicePerimeterConfig` specifies a set of Google Cloud resources that
|
|
666
|
+
# describe specific Service Perimeter configuration.
|
|
665
667
|
class ServicePerimeterConfig
|
|
666
668
|
include Google::Apis::Core::Hashable
|
|
667
669
|
|
|
@@ -669,29 +671,29 @@ module Google
|
|
|
669
671
|
# `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed
|
|
670
672
|
# must be in the same policy as this `ServicePerimeter`. Referencing a
|
|
671
673
|
# nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are
|
|
672
|
-
# listed, resources within the perimeter can only be accessed via
|
|
673
|
-
# with request origins within the perimeter. Example:
|
|
674
|
+
# listed, resources within the perimeter can only be accessed via Google
|
|
675
|
+
# Cloud calls with request origins within the perimeter. Example:
|
|
674
676
|
# `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`.
|
|
675
677
|
# For Service Perimeter Bridge, must be empty.
|
|
676
678
|
# Corresponds to the JSON property `accessLevels`
|
|
677
679
|
# @return [Array<String>]
|
|
678
680
|
attr_accessor :access_levels
|
|
679
681
|
|
|
680
|
-
# A list of
|
|
682
|
+
# A list of Google Cloud resources that are inside of the service perimeter.
|
|
681
683
|
# Currently only projects are allowed. Format: `projects/`project_number``
|
|
682
684
|
# Corresponds to the JSON property `resources`
|
|
683
685
|
# @return [Array<String>]
|
|
684
686
|
attr_accessor :resources
|
|
685
687
|
|
|
686
|
-
#
|
|
687
|
-
# contain a list of services. For example, if
|
|
688
|
+
# Google Cloud services that are subject to the Service Perimeter
|
|
689
|
+
# restrictions. Must contain a list of services. For example, if
|
|
688
690
|
# `storage.googleapis.com` is specified, access to the storage buckets
|
|
689
691
|
# inside the perimeter must meet the perimeter's access restrictions.
|
|
690
692
|
# Corresponds to the JSON property `restrictedServices`
|
|
691
693
|
# @return [Array<String>]
|
|
692
694
|
attr_accessor :restricted_services
|
|
693
695
|
|
|
694
|
-
#
|
|
696
|
+
# Google Cloud services that are not subject to the Service Perimeter
|
|
695
697
|
# restrictions. Deprecated. Must be set to a single wildcard "*".
|
|
696
698
|
# The wildcard means that unless explicitly specified by
|
|
697
699
|
# "restricted_services" list, any service is treated as unrestricted.
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
|
|
28
28
|
module Adexchangebuyer2V2beta1
|
|
29
29
|
VERSION = 'V2beta1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20200215'
|
|
31
31
|
|
|
32
32
|
# Manage your Ad Exchange buyer account configuration
|
|
33
33
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/admin-sdk/alertcenter/
|
|
26
26
|
module AlertcenterV1beta1
|
|
27
27
|
VERSION = 'V1beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200215'
|
|
29
29
|
|
|
30
30
|
# See and delete your domain's G Suite alerts, and send alert feedback
|
|
31
31
|
AUTH_APPS_ALERTS = 'https://www.googleapis.com/auth/apps.alerts'
|
|
@@ -782,6 +782,70 @@ module Google
|
|
|
782
782
|
end
|
|
783
783
|
end
|
|
784
784
|
|
|
785
|
+
# A Drive file
|
|
786
|
+
class DriveFile
|
|
787
|
+
include Google::Apis::Core::Hashable
|
|
788
|
+
|
|
789
|
+
# Abuse type of the file.
|
|
790
|
+
# Corresponds to the JSON property `abuseType`
|
|
791
|
+
# @return [String]
|
|
792
|
+
attr_accessor :abuse_type
|
|
793
|
+
|
|
794
|
+
# The ID of the file.
|
|
795
|
+
# Corresponds to the JSON property `id`
|
|
796
|
+
# @return [String]
|
|
797
|
+
attr_accessor :id
|
|
798
|
+
|
|
799
|
+
# The name of the file.
|
|
800
|
+
# Corresponds to the JSON property `name`
|
|
801
|
+
# @return [String]
|
|
802
|
+
attr_accessor :name
|
|
803
|
+
|
|
804
|
+
# The number of recent downloads of the file. This is available for the
|
|
805
|
+
# following alert types:
|
|
806
|
+
# *Drive malware sharing detected
|
|
807
|
+
# Corresponds to the JSON property `numRecentDownload`
|
|
808
|
+
# @return [Fixnum]
|
|
809
|
+
attr_accessor :num_recent_download
|
|
810
|
+
|
|
811
|
+
# The email address of the file owner.
|
|
812
|
+
# Corresponds to the JSON property `owner`
|
|
813
|
+
# @return [String]
|
|
814
|
+
attr_accessor :owner
|
|
815
|
+
|
|
816
|
+
def initialize(**args)
|
|
817
|
+
update!(**args)
|
|
818
|
+
end
|
|
819
|
+
|
|
820
|
+
# Update properties of this object
|
|
821
|
+
def update!(**args)
|
|
822
|
+
@abuse_type = args[:abuse_type] if args.key?(:abuse_type)
|
|
823
|
+
@id = args[:id] if args.key?(:id)
|
|
824
|
+
@name = args[:name] if args.key?(:name)
|
|
825
|
+
@num_recent_download = args[:num_recent_download] if args.key?(:num_recent_download)
|
|
826
|
+
@owner = args[:owner] if args.key?(:owner)
|
|
827
|
+
end
|
|
828
|
+
end
|
|
829
|
+
|
|
830
|
+
# Alerts for suspicious Drive files or activities.
|
|
831
|
+
class DriveFileWarning
|
|
832
|
+
include Google::Apis::Core::Hashable
|
|
833
|
+
|
|
834
|
+
# List of files in the alert.
|
|
835
|
+
# Corresponds to the JSON property `files`
|
|
836
|
+
# @return [Array<Google::Apis::AlertcenterV1beta1::DriveFile>]
|
|
837
|
+
attr_accessor :files
|
|
838
|
+
|
|
839
|
+
def initialize(**args)
|
|
840
|
+
update!(**args)
|
|
841
|
+
end
|
|
842
|
+
|
|
843
|
+
# Update properties of this object
|
|
844
|
+
def update!(**args)
|
|
845
|
+
@files = args[:files] if args.key?(:files)
|
|
846
|
+
end
|
|
847
|
+
end
|
|
848
|
+
|
|
785
849
|
# A generic empty message that you can re-use to avoid defining duplicated
|
|
786
850
|
# empty messages in your APIs. A typical example is to use it as the request
|
|
787
851
|
# or the response type of an API method. For instance:
|
|
@@ -142,6 +142,18 @@ module Google
|
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
|
143
143
|
end
|
|
144
144
|
|
|
145
|
+
class DriveFile
|
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
+
|
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
class DriveFileWarning
|
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
+
|
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
155
|
+
end
|
|
156
|
+
|
|
145
157
|
class Empty
|
|
146
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
159
|
|
|
@@ -490,6 +502,25 @@ module Google
|
|
|
490
502
|
end
|
|
491
503
|
end
|
|
492
504
|
|
|
505
|
+
class DriveFile
|
|
506
|
+
# @private
|
|
507
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
508
|
+
property :abuse_type, as: 'abuseType'
|
|
509
|
+
property :id, as: 'id'
|
|
510
|
+
property :name, as: 'name'
|
|
511
|
+
property :num_recent_download, :numeric_string => true, as: 'numRecentDownload'
|
|
512
|
+
property :owner, as: 'owner'
|
|
513
|
+
end
|
|
514
|
+
end
|
|
515
|
+
|
|
516
|
+
class DriveFileWarning
|
|
517
|
+
# @private
|
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
519
|
+
collection :files, as: 'files', class: Google::Apis::AlertcenterV1beta1::DriveFile, decorator: Google::Apis::AlertcenterV1beta1::DriveFile::Representation
|
|
520
|
+
|
|
521
|
+
end
|
|
522
|
+
end
|
|
523
|
+
|
|
493
524
|
class Empty
|
|
494
525
|
# @private
|
|
495
526
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/billing/docs/how-to/budget-api-overview
|
|
27
27
|
module BillingbudgetsV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200215'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -390,7 +390,10 @@ module Google
|
|
|
390
390
|
class Image
|
|
391
391
|
include Google::Apis::Core::Hashable
|
|
392
392
|
|
|
393
|
-
# The aspect ratio of this image (width/height).
|
|
393
|
+
# The aspect ratio of this image (width/height). This field allows clients
|
|
394
|
+
# to reserve the right height for the image while waiting for it to load.
|
|
395
|
+
# It's not meant to override the native aspect ratio of the image.
|
|
396
|
+
# If unset, server will fill it by prefetching the image.
|
|
394
397
|
# Corresponds to the JSON property `aspectRatio`
|
|
395
398
|
# @return [Float]
|
|
396
399
|
attr_accessor :aspect_ratio
|
|
@@ -882,6 +885,11 @@ module Google
|
|
|
882
885
|
# @return [String]
|
|
883
886
|
attr_accessor :display_name
|
|
884
887
|
|
|
888
|
+
# Obfuscated domain information.
|
|
889
|
+
# Corresponds to the JSON property `domainId`
|
|
890
|
+
# @return [String]
|
|
891
|
+
attr_accessor :domain_id
|
|
892
|
+
|
|
885
893
|
# Resource name, in the format "users/*".
|
|
886
894
|
# Corresponds to the JSON property `name`
|
|
887
895
|
# @return [String]
|
|
@@ -899,6 +907,7 @@ module Google
|
|
|
899
907
|
# Update properties of this object
|
|
900
908
|
def update!(**args)
|
|
901
909
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
910
|
+
@domain_id = args[:domain_id] if args.key?(:domain_id)
|
|
902
911
|
@name = args[:name] if args.key?(:name)
|
|
903
912
|
@type = args[:type] if args.key?(:type)
|
|
904
913
|
end
|