Autogenerated update (2019-03-08)

Update:
- accesscontextmanager_v1
- accesscontextmanager_v1beta
- compute_alpha
- compute_beta
- compute_v1
- dlp_v2
- iam_v1
- ml_v1
- monitoring_v3
- proximitybeacon_v1beta1
- serviceconsumermanagement_v1
- servicenetworking_v1beta
- serviceusage_v1
- serviceusage_v1beta1
- storagetransfer_v1
This commit is contained in:
Google APIs 2019-03-08 00:37:10 +00:00
parent a61f1b43a3
commit 940ee404d7
40 changed files with 793 additions and 307 deletions

View File

@ -62,6 +62,8 @@
"/accesscontextmanager:v1/Condition/members": members
"/accesscontextmanager:v1/Condition/members/member": member
"/accesscontextmanager:v1/Condition/negate": negate
"/accesscontextmanager:v1/Condition/regions": regions
"/accesscontextmanager:v1/Condition/regions/region": region
"/accesscontextmanager:v1/Condition/requiredAccessLevels": required_access_levels
"/accesscontextmanager:v1/Condition/requiredAccessLevels/required_access_level": required_access_level
"/accesscontextmanager:v1/DevicePolicy": device_policy
@ -71,6 +73,8 @@
"/accesscontextmanager:v1/DevicePolicy/allowedEncryptionStatuses/allowed_encryption_status": allowed_encryption_status
"/accesscontextmanager:v1/DevicePolicy/osConstraints": os_constraints
"/accesscontextmanager:v1/DevicePolicy/osConstraints/os_constraint": os_constraint
"/accesscontextmanager:v1/DevicePolicy/requireAdminApproval": require_admin_approval
"/accesscontextmanager:v1/DevicePolicy/requireCorpOwned": require_corp_owned
"/accesscontextmanager:v1/DevicePolicy/requireScreenlock": require_screenlock
"/accesscontextmanager:v1/Empty": empty
"/accesscontextmanager:v1/ListAccessLevelsResponse": list_access_levels_response
@ -100,6 +104,7 @@
"/accesscontextmanager:v1/OsConstraint": os_constraint
"/accesscontextmanager:v1/OsConstraint/minimumVersion": minimum_version
"/accesscontextmanager:v1/OsConstraint/osType": os_type
"/accesscontextmanager:v1/OsConstraint/requireVerifiedChromeOs": require_verified_chrome_os
"/accesscontextmanager:v1/ServicePerimeter": service_perimeter
"/accesscontextmanager:v1/ServicePerimeter/createTime": create_time
"/accesscontextmanager:v1/ServicePerimeter/description": description
@ -199,6 +204,8 @@
"/accesscontextmanager:v1beta/Condition/members": members
"/accesscontextmanager:v1beta/Condition/members/member": member
"/accesscontextmanager:v1beta/Condition/negate": negate
"/accesscontextmanager:v1beta/Condition/regions": regions
"/accesscontextmanager:v1beta/Condition/regions/region": region
"/accesscontextmanager:v1beta/Condition/requiredAccessLevels": required_access_levels
"/accesscontextmanager:v1beta/Condition/requiredAccessLevels/required_access_level": required_access_level
"/accesscontextmanager:v1beta/DevicePolicy": device_policy
@ -208,6 +215,8 @@
"/accesscontextmanager:v1beta/DevicePolicy/allowedEncryptionStatuses/allowed_encryption_status": allowed_encryption_status
"/accesscontextmanager:v1beta/DevicePolicy/osConstraints": os_constraints
"/accesscontextmanager:v1beta/DevicePolicy/osConstraints/os_constraint": os_constraint
"/accesscontextmanager:v1beta/DevicePolicy/requireAdminApproval": require_admin_approval
"/accesscontextmanager:v1beta/DevicePolicy/requireCorpOwned": require_corp_owned
"/accesscontextmanager:v1beta/DevicePolicy/requireScreenlock": require_screenlock
"/accesscontextmanager:v1beta/ListAccessLevelsResponse": list_access_levels_response
"/accesscontextmanager:v1beta/ListAccessLevelsResponse/accessLevels": access_levels
@ -232,6 +241,7 @@
"/accesscontextmanager:v1beta/OsConstraint": os_constraint
"/accesscontextmanager:v1beta/OsConstraint/minimumVersion": minimum_version
"/accesscontextmanager:v1beta/OsConstraint/osType": os_type
"/accesscontextmanager:v1beta/OsConstraint/requireVerifiedChromeOs": require_verified_chrome_os
"/accesscontextmanager:v1beta/ServicePerimeter": service_perimeter
"/accesscontextmanager:v1beta/ServicePerimeter/createTime": create_time
"/accesscontextmanager:v1beta/ServicePerimeter/description": description
@ -22164,6 +22174,7 @@
"/compute:alpha/InstanceGroupManagerUpdatePolicy/maxUnavailable": max_unavailable
"/compute:alpha/InstanceGroupManagerUpdatePolicy/minReadySec": min_ready_sec
"/compute:alpha/InstanceGroupManagerUpdatePolicy/minimalAction": minimal_action
"/compute:alpha/InstanceGroupManagerUpdatePolicy/replacementMethod": replacement_method
"/compute:alpha/InstanceGroupManagerUpdatePolicy/type": type
"/compute:alpha/InstanceGroupManagerVersion": instance_group_manager_version
"/compute:alpha/InstanceGroupManagerVersion/instanceTemplate": instance_template
@ -23728,6 +23739,7 @@
"/compute:alpha/ResourcePolicy/backupSchedulePolicy": backup_schedule_policy
"/compute:alpha/ResourcePolicy/creationTimestamp": creation_timestamp
"/compute:alpha/ResourcePolicy/description": description
"/compute:alpha/ResourcePolicy/groupPlacementPolicy": group_placement_policy
"/compute:alpha/ResourcePolicy/id": id
"/compute:alpha/ResourcePolicy/kind": kind
"/compute:alpha/ResourcePolicy/name": name
@ -23773,6 +23785,10 @@
"/compute:alpha/ResourcePolicyDailyCycle/daysInCycle": days_in_cycle
"/compute:alpha/ResourcePolicyDailyCycle/duration": duration
"/compute:alpha/ResourcePolicyDailyCycle/startTime": start_time
"/compute:alpha/ResourcePolicyGroupPlacementPolicy": resource_policy_group_placement_policy
"/compute:alpha/ResourcePolicyGroupPlacementPolicy/locality": locality
"/compute:alpha/ResourcePolicyGroupPlacementPolicy/style": style
"/compute:alpha/ResourcePolicyGroupPlacementPolicy/vmCount": vm_count
"/compute:alpha/ResourcePolicyHourlyCycle": resource_policy_hourly_cycle
"/compute:alpha/ResourcePolicyHourlyCycle/duration": duration
"/compute:alpha/ResourcePolicyHourlyCycle/hoursInCycle": hours_in_cycle
@ -26796,6 +26812,9 @@
"/compute:alpha/compute.organizationSecurityPolicies.move": move_organization_security_policy
"/compute:alpha/compute.organizationSecurityPolicies.move/requestId": request_id
"/compute:alpha/compute.organizationSecurityPolicies.move/securityPolicy": security_policy
"/compute:alpha/compute.organizationSecurityPolicies.patch": patch_organization_security_policy
"/compute:alpha/compute.organizationSecurityPolicies.patch/requestId": request_id
"/compute:alpha/compute.organizationSecurityPolicies.patch/securityPolicy": security_policy
"/compute:alpha/compute.organizationSecurityPolicies.patchRule": patch_organization_security_policy_rule
"/compute:alpha/compute.organizationSecurityPolicies.patchRule/priority": priority
"/compute:alpha/compute.organizationSecurityPolicies.patchRule/requestId": request_id
@ -28222,6 +28241,7 @@
"/compute:beta/AliasIpRange/ipCidrRange": ip_cidr_range
"/compute:beta/AliasIpRange/subnetworkRangeName": subnetwork_range_name
"/compute:beta/Allocation": allocation
"/compute:beta/Allocation/commitment": commitment
"/compute:beta/Allocation/creationTimestamp": creation_timestamp
"/compute:beta/Allocation/description": description
"/compute:beta/Allocation/id": id
@ -29328,6 +29348,9 @@
"/compute:beta/InstanceGroupManagerPendingActionsSummary/restarting": restarting
"/compute:beta/InstanceGroupManagerStatus": instance_group_manager_status
"/compute:beta/InstanceGroupManagerStatus/isStable": is_stable
"/compute:beta/InstanceGroupManagerStatus/versionTarget": version_target
"/compute:beta/InstanceGroupManagerStatusVersionTarget": instance_group_manager_status_version_target
"/compute:beta/InstanceGroupManagerStatusVersionTarget/isReached": is_reached
"/compute:beta/InstanceGroupManagerUpdatePolicy": instance_group_manager_update_policy
"/compute:beta/InstanceGroupManagerUpdatePolicy/maxSurge": max_surge
"/compute:beta/InstanceGroupManagerUpdatePolicy/maxUnavailable": max_unavailable
@ -31027,6 +31050,7 @@
"/compute:beta/Subnetwork/id": id
"/compute:beta/Subnetwork/ipCidrRange": ip_cidr_range
"/compute:beta/Subnetwork/kind": kind
"/compute:beta/Subnetwork/logConfig": log_config
"/compute:beta/Subnetwork/name": name
"/compute:beta/Subnetwork/network": network
"/compute:beta/Subnetwork/privateIpGoogleAccess": private_ip_google_access
@ -31062,6 +31086,11 @@
"/compute:beta/SubnetworkList/warning/data/datum/key": key
"/compute:beta/SubnetworkList/warning/data/datum/value": value
"/compute:beta/SubnetworkList/warning/message": message
"/compute:beta/SubnetworkLogConfig": subnetwork_log_config
"/compute:beta/SubnetworkLogConfig/aggregationInterval": aggregation_interval
"/compute:beta/SubnetworkLogConfig/enable": enable
"/compute:beta/SubnetworkLogConfig/flowSampling": flow_sampling
"/compute:beta/SubnetworkLogConfig/metadata": metadata
"/compute:beta/SubnetworkSecondaryRange": subnetwork_secondary_range
"/compute:beta/SubnetworkSecondaryRange/ipCidrRange": ip_cidr_range
"/compute:beta/SubnetworkSecondaryRange/rangeName": range_name
@ -34238,6 +34267,8 @@
"/compute:v1/BackendService/cdnPolicy": cdn_policy
"/compute:v1/BackendService/connectionDraining": connection_draining
"/compute:v1/BackendService/creationTimestamp": creation_timestamp
"/compute:v1/BackendService/customRequestHeaders": custom_request_headers
"/compute:v1/BackendService/customRequestHeaders/custom_request_header": custom_request_header
"/compute:v1/BackendService/description": description
"/compute:v1/BackendService/enableCDN": enable_cdn
"/compute:v1/BackendService/fingerprint": fingerprint
@ -34670,6 +34701,13 @@
"/compute:v1/GlobalSetPolicyRequest/policy": policy
"/compute:v1/GuestOsFeature": guest_os_feature
"/compute:v1/GuestOsFeature/type": type
"/compute:v1/HTTP2HealthCheck": http2_health_check
"/compute:v1/HTTP2HealthCheck/host": host
"/compute:v1/HTTP2HealthCheck/port": port
"/compute:v1/HTTP2HealthCheck/portName": port_name
"/compute:v1/HTTP2HealthCheck/proxyHeader": proxy_header
"/compute:v1/HTTP2HealthCheck/requestPath": request_path
"/compute:v1/HTTP2HealthCheck/response": response
"/compute:v1/HTTPHealthCheck": http_health_check
"/compute:v1/HTTPHealthCheck/host": host
"/compute:v1/HTTPHealthCheck/port": port
@ -34689,6 +34727,7 @@
"/compute:v1/HealthCheck/creationTimestamp": creation_timestamp
"/compute:v1/HealthCheck/description": description
"/compute:v1/HealthCheck/healthyThreshold": healthy_threshold
"/compute:v1/HealthCheck/http2HealthCheck": http2_health_check
"/compute:v1/HealthCheck/httpHealthCheck": http_health_check
"/compute:v1/HealthCheck/httpsHealthCheck": https_health_check
"/compute:v1/HealthCheck/id": id
@ -79052,7 +79091,9 @@
"/iam:v1/CreateServiceAccountRequest": create_service_account_request
"/iam:v1/CreateServiceAccountRequest/accountId": account_id
"/iam:v1/CreateServiceAccountRequest/serviceAccount": service_account
"/iam:v1/DisableServiceAccountRequest": disable_service_account_request
"/iam:v1/Empty": empty
"/iam:v1/EnableServiceAccountRequest": enable_service_account_request
"/iam:v1/Expr": expr
"/iam:v1/Expr/description": description
"/iam:v1/Expr/expression": expression
@ -79224,6 +79265,10 @@
"/iam:v1/iam.projects.serviceAccounts.create/name": name
"/iam:v1/iam.projects.serviceAccounts.delete": delete_project_service_account
"/iam:v1/iam.projects.serviceAccounts.delete/name": name
"/iam:v1/iam.projects.serviceAccounts.disable": disable_service_account
"/iam:v1/iam.projects.serviceAccounts.disable/name": name
"/iam:v1/iam.projects.serviceAccounts.enable": enable_service_account
"/iam:v1/iam.projects.serviceAccounts.enable/name": name
"/iam:v1/iam.projects.serviceAccounts.get": get_project_service_account
"/iam:v1/iam.projects.serviceAccounts.get/name": name
"/iam:v1/iam.projects.serviceAccounts.getIamPolicy": get_project_service_account_iam_policy

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
module AccesscontextmanagerV1
VERSION = 'V1'
REVISION = '20190306'
REVISION = '20190307'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -217,6 +217,12 @@ module Google
attr_accessor :negate
alias_method :negate?, :negate
# The request must originate from one of the provided countries/regions.
# Must be valid ISO 3166-1 alpha-2 codes.
# Corresponds to the JSON property `regions`
# @return [Array<String>]
attr_accessor :regions
# A list of other access levels defined in the same `Policy`, referenced by
# resource name. Referencing an `AccessLevel` which does not exist is an
# error. All access levels listed must be granted for the Condition
@ -236,6 +242,7 @@ module Google
@ip_subnetworks = args[:ip_subnetworks] if args.key?(:ip_subnetworks)
@members = args[:members] if args.key?(:members)
@negate = args[:negate] if args.key?(:negate)
@regions = args[:regions] if args.key?(:regions)
@required_access_levels = args[:required_access_levels] if args.key?(:required_access_levels)
end
end
@ -268,6 +275,18 @@ module Google
# @return [Array<Google::Apis::AccesscontextmanagerV1::OsConstraint>]
attr_accessor :os_constraints
# Whether the device needs to be approved by the customer admin.
# Corresponds to the JSON property `requireAdminApproval`
# @return [Boolean]
attr_accessor :require_admin_approval
alias_method :require_admin_approval?, :require_admin_approval
# Whether the device needs to be corp owned.
# Corresponds to the JSON property `requireCorpOwned`
# @return [Boolean]
attr_accessor :require_corp_owned
alias_method :require_corp_owned?, :require_corp_owned
# Whether or not screenlock is required for the DevicePolicy to be true.
# Defaults to `false`.
# Corresponds to the JSON property `requireScreenlock`
@ -284,6 +303,8 @@ module Google
@allowed_device_management_levels = args[:allowed_device_management_levels] if args.key?(:allowed_device_management_levels)
@allowed_encryption_statuses = args[:allowed_encryption_statuses] if args.key?(:allowed_encryption_statuses)
@os_constraints = args[:os_constraints] if args.key?(:os_constraints)
@require_admin_approval = args[:require_admin_approval] if args.key?(:require_admin_approval)
@require_corp_owned = args[:require_corp_owned] if args.key?(:require_corp_owned)
@require_screenlock = args[:require_screenlock] if args.key?(:require_screenlock)
end
end
@ -423,14 +444,14 @@ module Google
attr_accessor :done
alias_method :done?, :done
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
@ -523,6 +544,15 @@ module Google
# @return [String]
attr_accessor :os_type
# Only allows requests from devices with a verified Chrome OS.
# Verifications includes requirements that the device is enterprise-managed,
# conformant to Dasher domain policies, and the caller has permission to call
# the API targeted by the request.
# Corresponds to the JSON property `requireVerifiedChromeOs`
# @return [Boolean]
attr_accessor :require_verified_chrome_os
alias_method :require_verified_chrome_os?, :require_verified_chrome_os
def initialize(**args)
update!(**args)
end
@ -531,6 +561,7 @@ module Google
def update!(**args)
@minimum_version = args[:minimum_version] if args.key?(:minimum_version)
@os_type = args[:os_type] if args.key?(:os_type)
@require_verified_chrome_os = args[:require_verified_chrome_os] if args.key?(:require_verified_chrome_os)
end
end
@ -648,14 +679,14 @@ module Google
end
end
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing

View File

@ -165,6 +165,7 @@ module Google
collection :ip_subnetworks, as: 'ipSubnetworks'
collection :members, as: 'members'
property :negate, as: 'negate'
collection :regions, as: 'regions'
collection :required_access_levels, as: 'requiredAccessLevels'
end
end
@ -176,6 +177,8 @@ module Google
collection :allowed_encryption_statuses, as: 'allowedEncryptionStatuses'
collection :os_constraints, as: 'osConstraints', class: Google::Apis::AccesscontextmanagerV1::OsConstraint, decorator: Google::Apis::AccesscontextmanagerV1::OsConstraint::Representation
property :require_admin_approval, as: 'requireAdminApproval'
property :require_corp_owned, as: 'requireCorpOwned'
property :require_screenlock, as: 'requireScreenlock'
end
end
@ -239,6 +242,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :minimum_version, as: 'minimumVersion'
property :os_type, as: 'osType'
property :require_verified_chrome_os, as: 'requireVerifiedChromeOs'
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
module AccesscontextmanagerV1beta
VERSION = 'V1beta'
REVISION = '20190306'
REVISION = '20190307'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -204,6 +204,12 @@ module Google
attr_accessor :negate
alias_method :negate?, :negate
# The request must originate from one of the provided countries/regions.
# Must be valid ISO 3166-1 alpha-2 codes.
# Corresponds to the JSON property `regions`
# @return [Array<String>]
attr_accessor :regions
# A list of other access levels defined in the same `Policy`, referenced by
# resource name. Referencing an `AccessLevel` which does not exist is an
# error. All access levels listed must be granted for the Condition
@ -223,6 +229,7 @@ module Google
@ip_subnetworks = args[:ip_subnetworks] if args.key?(:ip_subnetworks)
@members = args[:members] if args.key?(:members)
@negate = args[:negate] if args.key?(:negate)
@regions = args[:regions] if args.key?(:regions)
@required_access_levels = args[:required_access_levels] if args.key?(:required_access_levels)
end
end
@ -255,6 +262,18 @@ module Google
# @return [Array<Google::Apis::AccesscontextmanagerV1beta::OsConstraint>]
attr_accessor :os_constraints
# Whether the device needs to be approved by the customer admin.
# Corresponds to the JSON property `requireAdminApproval`
# @return [Boolean]
attr_accessor :require_admin_approval
alias_method :require_admin_approval?, :require_admin_approval
# Whether the device needs to be corp owned.
# Corresponds to the JSON property `requireCorpOwned`
# @return [Boolean]
attr_accessor :require_corp_owned
alias_method :require_corp_owned?, :require_corp_owned
# Whether or not screenlock is required for the DevicePolicy to be true.
# Defaults to `false`.
# Corresponds to the JSON property `requireScreenlock`
@ -271,6 +290,8 @@ module Google
@allowed_device_management_levels = args[:allowed_device_management_levels] if args.key?(:allowed_device_management_levels)
@allowed_encryption_statuses = args[:allowed_encryption_statuses] if args.key?(:allowed_encryption_statuses)
@os_constraints = args[:os_constraints] if args.key?(:os_constraints)
@require_admin_approval = args[:require_admin_approval] if args.key?(:require_admin_approval)
@require_corp_owned = args[:require_corp_owned] if args.key?(:require_corp_owned)
@require_screenlock = args[:require_screenlock] if args.key?(:require_screenlock)
end
end
@ -366,14 +387,14 @@ module Google
attr_accessor :done
alias_method :done?, :done
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
@ -466,6 +487,15 @@ module Google
# @return [String]
attr_accessor :os_type
# Only allows requests from devices with a verified Chrome OS.
# Verifications includes requirements that the device is enterprise-managed,
# conformant to Dasher domain policies, and the caller has permission to call
# the API targeted by the request.
# Corresponds to the JSON property `requireVerifiedChromeOs`
# @return [Boolean]
attr_accessor :require_verified_chrome_os
alias_method :require_verified_chrome_os?, :require_verified_chrome_os
def initialize(**args)
update!(**args)
end
@ -474,6 +504,7 @@ module Google
def update!(**args)
@minimum_version = args[:minimum_version] if args.key?(:minimum_version)
@os_type = args[:os_type] if args.key?(:os_type)
@require_verified_chrome_os = args[:require_verified_chrome_os] if args.key?(:require_verified_chrome_os)
end
end
@ -601,14 +632,14 @@ module Google
end
end
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing

View File

@ -141,6 +141,7 @@ module Google
collection :ip_subnetworks, as: 'ipSubnetworks'
collection :members, as: 'members'
property :negate, as: 'negate'
collection :regions, as: 'regions'
collection :required_access_levels, as: 'requiredAccessLevels'
end
end
@ -152,6 +153,8 @@ module Google
collection :allowed_encryption_statuses, as: 'allowedEncryptionStatuses'
collection :os_constraints, as: 'osConstraints', class: Google::Apis::AccesscontextmanagerV1beta::OsConstraint, decorator: Google::Apis::AccesscontextmanagerV1beta::OsConstraint::Representation
property :require_admin_approval, as: 'requireAdminApproval'
property :require_corp_owned, as: 'requireCorpOwned'
property :require_screenlock, as: 'requireScreenlock'
end
end
@ -200,6 +203,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :minimum_version, as: 'minimumVersion'
property :os_type, as: 'osType'
property :require_verified_chrome_os, as: 'requireVerifiedChromeOs'
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeAlpha
VERSION = 'Alpha'
REVISION = '20190211'
REVISION = '20190221'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1073,8 +1073,8 @@ module Google
class Allocation
include Google::Apis::Core::Hashable
# Full or partial url for commitment in which this allocation is to be created.
# This field is ignored when allocations are created during committment creation.
# [OutputOnly] Full or partial url for parent commitment for allocations which
# are tied to a commitment.
# Corresponds to the JSON property `commitment`
# @return [String]
attr_accessor :commitment
@ -1638,41 +1638,6 @@ module Google
end
end
#
class AllocationsUpdateResourceShapeRequest
include Google::Apis::Core::Hashable
# Number of allocated resources which are to be updated with minimum = 1 and
# maximum = 100.
# Corresponds to the JSON property `count`
# @return [Fixnum]
attr_accessor :count
# The name of destination allocation where the modified machines are added. If
# existing, its machine spec must match the modified machine spec. If non
# existing, new allocation with this name and modified machine spec is created
# automatically.
# Corresponds to the JSON property `destinationAllocation`
# @return [String]
attr_accessor :destination_allocation
# Properties of the SKU instances being reserved.
# Corresponds to the JSON property `updatedResourceProperties`
# @return [Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationAllocatedInstanceProperties]
attr_accessor :updated_resource_properties
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@count = args[:count] if args.key?(:count)
@destination_allocation = args[:destination_allocation] if args.key?(:destination_allocation)
@updated_resource_properties = args[:updated_resource_properties] if args.key?(:updated_resource_properties)
end
end
# An instance-attached disk resource.
class AttachedDisk
include Google::Apis::Core::Hashable
@ -4146,8 +4111,8 @@ module Google
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group. For
# example, `admins@example.com`.
# * `domain:`domain``: A Google Apps domain name that represents all the users
# of that domain. For example, `google.com` or `example.com`.
# * `domain:`domain``: The G Suite domain (primary) that represents all the
# users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members`
# @return [Array<String>]
attr_accessor :members
@ -5205,11 +5170,12 @@ module Google
# @return [String]
attr_accessor :replacement
# The deprecation state of this resource. This can be DEPRECATED, OBSOLETE, or
# DELETED. Operations which create a new resource using a DEPRECATED resource
# will return successfully, but with a warning indicating the deprecated
# resource and recommending its replacement. Operations which use OBSOLETE or
# DELETED resources will be rejected and result in an error.
# The deprecation state of this resource. This can be ACTIVE DEPRECATED,
# OBSOLETE, or DELETED. Operations which communicate the end of life date for an
# image, can use ACTIVE. Operations which create a new resource using a
# DEPRECATED resource will return successfully, but with a warning indicating
# the deprecated resource and recommending its replacement. Operations which use
# OBSOLETE or DELETED resources will be rejected and result in an error.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
@ -12278,6 +12244,11 @@ module Google
# @return [String]
attr_accessor :minimal_action
# What action should be used to replace instances. See minimal_action.REPLACE
# Corresponds to the JSON property `replacementMethod`
# @return [String]
attr_accessor :replacement_method
#
# Corresponds to the JSON property `type`
# @return [String]
@ -12294,6 +12265,7 @@ module Google
@max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
@min_ready_sec = args[:min_ready_sec] if args.key?(:min_ready_sec)
@minimal_action = args[:minimal_action] if args.key?(:minimal_action)
@replacement_method = args[:replacement_method] if args.key?(:replacement_method)
@type = args[:type] if args.key?(:type)
end
end
@ -24046,6 +24018,12 @@ module Google
# @return [String]
attr_accessor :description
# A GroupPlacementPolicy specifies resource placement configuration. It
# specifies the failure bucket separation as well as network locality
# Corresponds to the JSON property `groupPlacementPolicy`
# @return [Google::Apis::ComputeAlpha::ResourcePolicyGroupPlacementPolicy]
attr_accessor :group_placement_policy
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
@ -24104,6 +24082,7 @@ module Google
def update!(**args)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@group_placement_policy = args[:group_placement_policy] if args.key?(:group_placement_policy)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
@ -24271,6 +24250,38 @@ module Google
end
end
# A GroupPlacementPolicy specifies resource placement configuration. It
# specifies the failure bucket separation as well as network locality
class ResourcePolicyGroupPlacementPolicy
include Google::Apis::Core::Hashable
# Specifies network locality
# Corresponds to the JSON property `locality`
# @return [String]
attr_accessor :locality
# Specifies instances to hosts placement relationship
# Corresponds to the JSON property `style`
# @return [String]
attr_accessor :style
# Number of vms in this placement group
# Corresponds to the JSON property `vmCount`
# @return [Fixnum]
attr_accessor :vm_count
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@locality = args[:locality] if args.key?(:locality)
@style = args[:style] if args.key?(:style)
@vm_count = args[:vm_count] if args.key?(:vm_count)
end
end
# Time window specified for hourly operations.
class ResourcePolicyHourlyCycle
include Google::Apis::Core::Hashable
@ -25764,13 +25775,6 @@ module Google
attr_accessor :enable
alias_method :enable?, :enable
# Indicates whether or not to export logs. This is false by default. [Deprecated]
# Use 'enable' instead.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
# Specifies the desired filtering of logs on this NAT. If unspecified, logs are
# exported for all connections handled by this NAT.
# Corresponds to the JSON property `filter`
@ -25784,7 +25788,6 @@ module Google
# Update properties of this object
def update!(**args)
@enable = args[:enable] if args.key?(:enable)
@enabled = args[:enabled] if args.key?(:enabled)
@filter = args[:filter] if args.key?(:filter)
end
end
@ -25942,7 +25945,7 @@ module Google
end
end
# Status of a NAT contained in this router.
# Status of a NAT contained in this router. Next tag: 9
class RouterStatusNatStatus
include Google::Apis::Core::Hashable
@ -32151,7 +32154,7 @@ module Google
attr_accessor :description
# [Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules
# are created using compute.forwardingRules.insert and associated to a VPN
# are created using compute.forwardingRules.insert and associated with a VPN
# gateway.
# Corresponds to the JSON property `forwardingRules`
# @return [Array<String>]
@ -32217,13 +32220,14 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] The status of the VPN gateway.
# [Output Only] The status of the VPN gateway, which can be one of the following:
# CREATING, READY, FAILED, or DELETING.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
# [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created
# using compute.vpntunnels.insert method and associated to a VPN gateway.
# using the compute.vpntunnels.insert method and associated with a VPN gateway.
# Corresponds to the JSON property `tunnels`
# @return [Array<String>]
attr_accessor :tunnels
@ -32490,7 +32494,7 @@ module Google
class TargetVpnGatewaysScopedList
include Google::Apis::Core::Hashable
# [Output Only] A list of target vpn gateways contained in this scope.
# [Output Only] A list of target VPN gateways contained in this scope.
# Corresponds to the JSON property `targetVpnGateways`
# @return [Array<Google::Apis::ComputeAlpha::TargetVpnGateway>]
attr_accessor :target_vpn_gateways
@ -34327,8 +34331,8 @@ module Google
# @return [Fixnum]
attr_accessor :id
# IKE protocol version to use when establishing the VPN tunnel with peer VPN
# gateway. Acceptable IKE versions are 1 or 2. Default version is 2.
# IKE protocol version to use when establishing the VPN tunnel with the peer VPN
# gateway. Acceptable IKE versions are 1 or 2. The default version is 2.
# Corresponds to the JSON property `ikeVersion`
# @return [Fixnum]
attr_accessor :ike_version
@ -34357,9 +34361,9 @@ module Google
# @return [Hash<String,String>]
attr_accessor :labels
# Local traffic selector to use when establishing the VPN tunnel with peer VPN
# gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/
# 16. The ranges should be disjoint. Only IPv4 is supported.
# Local traffic selector to use when establishing the VPN tunnel with the peer
# VPN gateway. The value should be a CIDR formatted string, for example: 192.168.
# 0.0/16. The ranges must be disjoint. Only IPv4 is supported.
# Corresponds to the JSON property `localTrafficSelector`
# @return [Array<String>]
attr_accessor :local_traffic_selector
@ -34409,14 +34413,14 @@ module Google
# @return [String]
attr_accessor :region
# Remote traffic selectors to use when establishing the VPN tunnel with peer VPN
# gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/
# 16. The ranges should be disjoint. Only IPv4 is supported.
# Remote traffic selectors to use when establishing the VPN tunnel with the peer
# VPN gateway. The value should be a CIDR formatted string, for example: 192.168.
# 0.0/16. The ranges should be disjoint. Only IPv4 is supported.
# Corresponds to the JSON property `remoteTrafficSelector`
# @return [Array<String>]
attr_accessor :remote_traffic_selector
# URL of router resource to be used for dynamic routing.
# URL of the router resource to be used for dynamic routing.
# Corresponds to the JSON property `router`
# @return [String]
attr_accessor :router
@ -34437,7 +34441,18 @@ module Google
# @return [String]
attr_accessor :shared_secret_hash
# [Output Only] The status of the VPN tunnel.
# [Output Only] The status of the VPN tunnel, which can be one of the following:
# - PROVISIONING: Resource is being allocated for the VPN tunnel.
# - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the
# user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route
# resources are needed to setup the VPN tunnel.
# - FIRST_HANDSHAKE: Successful first handshake with the peer VPN.
# - ESTABLISHED: Secure session is successfully established with the peer VPN.
# - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS
# - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret).
# - NEGOTIATION_FAILURE: Handshake failed.
# - DEPROVISIONING: Resources are being deallocated for the VPN tunnel.
# - FAILED: Tunnel creation has failed and the tunnel is not ready to be used.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
@ -34731,7 +34746,7 @@ module Google
class VpnTunnelsScopedList
include Google::Apis::Core::Hashable
# A list of vpn tunnels contained in this scope.
# A list of VPN tunnels contained in this scope.
# Corresponds to the JSON property `vpnTunnels`
# @return [Array<Google::Apis::ComputeAlpha::VpnTunnel>]
attr_accessor :vpn_tunnels

View File

@ -250,12 +250,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AllocationsUpdateResourceShapeRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AttachedDisk
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3316,6 +3310,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyGroupPlacementPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyHourlyCycle
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -5308,16 +5308,6 @@ module Google
end
end
class AllocationsUpdateResourceShapeRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :count, as: 'count'
property :destination_allocation, as: 'destinationAllocation'
property :updated_resource_properties, as: 'updatedResourceProperties', class: Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationAllocatedInstanceProperties, decorator: Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationAllocatedInstanceProperties::Representation
end
end
class AttachedDisk
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -7808,6 +7798,7 @@ module Google
property :min_ready_sec, as: 'minReadySec'
property :minimal_action, as: 'minimalAction'
property :replacement_method, as: 'replacementMethod'
property :type, as: 'type'
end
end
@ -10928,6 +10919,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :group_placement_policy, as: 'groupPlacementPolicy', class: Google::Apis::ComputeAlpha::ResourcePolicyGroupPlacementPolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicyGroupPlacementPolicy::Representation
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
@ -10983,6 +10976,15 @@ module Google
end
end
class ResourcePolicyGroupPlacementPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :locality, as: 'locality'
property :style, as: 'style'
property :vm_count, as: 'vmCount'
end
end
class ResourcePolicyHourlyCycle
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -11349,7 +11351,6 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enable, as: 'enable'
property :enabled, as: 'enabled'
property :filter, as: 'filter'
end
end

View File

@ -1085,60 +1085,6 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates the shape of an allocation.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# Name of the zone for this request.
# @param [String] allocation
# Name of the allocation to update.
# @param [Google::Apis::ComputeAlpha::AllocationsUpdateResourceShapeRequest] allocations_update_resource_shape_request_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_allocation_resource_shape(project, zone, allocation, allocations_update_resource_shape_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/zones/{zone}/allocations/{allocation}/updateResourceShape', options)
command.request_representation = Google::Apis::ComputeAlpha::AllocationsUpdateResourceShapeRequest::Representation
command.request_object = allocations_update_resource_shape_request_object
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['allocation'] = allocation unless allocation.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves an aggregated list of autoscalers.
# @param [String] project
# Project ID for this request.
@ -17163,6 +17109,54 @@ module Google
execute_or_queue_command(command, &block)
end
# Patches the specified policy with the data included in the request.
# @param [String] security_policy
# Name of the security policy to update.
# @param [Google::Apis::ComputeAlpha::SecurityPolicy] security_policy_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_organization_security_policy(security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'locations/global/securityPolicies/{securityPolicy}', options)
command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation
command.request_object = security_policy_object
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['securityPolicy'] = security_policy unless security_policy.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Patches a rule at the specified priority.
# @param [String] security_policy
# Name of the security policy to update.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeBeta
VERSION = 'Beta'
REVISION = '20190211'
REVISION = '20190221'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1047,6 +1047,12 @@ module Google
class Allocation
include Google::Apis::Core::Hashable
# [OutputOnly] Full or partial url for parent commitment for allocations which
# are tied to a commitment.
# Corresponds to the JSON property `commitment`
# @return [String]
attr_accessor :commitment
# [Output Only] Creation timestamp in RFC3339 text format.
# Corresponds to the JSON property `creationTimestamp`
# @return [String]
@ -1110,6 +1116,7 @@ module Google
# Update properties of this object
def update!(**args)
@commitment = args[:commitment] if args.key?(:commitment)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@id = args[:id] if args.key?(:id)
@ -3621,8 +3628,8 @@ module Google
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group. For
# example, `admins@example.com`.
# * `domain:`domain``: A Google Apps domain name that represents all the users
# of that domain. For example, `google.com` or `example.com`.
# * `domain:`domain``: The G Suite domain (primary) that represents all the
# users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members`
# @return [Array<String>]
attr_accessor :members
@ -4340,11 +4347,12 @@ module Google
# @return [String]
attr_accessor :replacement
# The deprecation state of this resource. This can be DEPRECATED, OBSOLETE, or
# DELETED. Operations which create a new resource using a DEPRECATED resource
# will return successfully, but with a warning indicating the deprecated
# resource and recommending its replacement. Operations which use OBSOLETE or
# DELETED resources will be rejected and result in an error.
# The deprecation state of this resource. This can be ACTIVE DEPRECATED,
# OBSOLETE, or DELETED. Operations which communicate the end of life date for an
# image, can use ACTIVE. Operations which create a new resource using a
# DEPRECATED resource will return successfully, but with a warning indicating
# the deprecated resource and recommending its replacement. Operations which use
# OBSOLETE or DELETED resources will be rejected and result in an error.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
@ -10057,6 +10065,12 @@ module Google
attr_accessor :is_stable
alias_method :is_stable?, :is_stable
# [Output Only] A status of consistency of Instances' versions with their target
# version specified by version field on Instance Group Manager.
# Corresponds to the JSON property `versionTarget`
# @return [Google::Apis::ComputeBeta::InstanceGroupManagerStatusVersionTarget]
attr_accessor :version_target
def initialize(**args)
update!(**args)
end
@ -10064,6 +10078,30 @@ module Google
# Update properties of this object
def update!(**args)
@is_stable = args[:is_stable] if args.key?(:is_stable)
@version_target = args[:version_target] if args.key?(:version_target)
end
end
#
class InstanceGroupManagerStatusVersionTarget
include Google::Apis::Core::Hashable
# [Output Only] A bit indicating whether version target has been reached in this
# managed instance group, i.e. all instances are in their target version.
# Instances' target version are specified by version field on Instance Group
# Manager.
# Corresponds to the JSON property `isReached`
# @return [Boolean]
attr_accessor :is_reached
alias_method :is_reached?, :is_reached
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@is_reached = args[:is_reached] if args.key?(:is_reached)
end
end
@ -21144,7 +21182,7 @@ module Google
end
end
# Status of a NAT contained in this router.
# Status of a NAT contained in this router. Next tag: 9
class RouterStatusNatStatus
include Google::Apis::Core::Hashable
@ -23276,6 +23314,11 @@ module Google
# @return [String]
attr_accessor :kind
# The available logging options for this subnetwork.
# Corresponds to the JSON property `logConfig`
# @return [Google::Apis::ComputeBeta::SubnetworkLogConfig]
attr_accessor :log_config
# The name of the resource, provided by the client when initially creating the
# resource. The name must be 1-63 characters long, and comply with RFC1035.
# Specifically, the name must be 1-63 characters long and match the regular
@ -23336,6 +23379,7 @@ module Google
@id = args[:id] if args.key?(:id)
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
@kind = args[:kind] if args.key?(:kind)
@log_config = args[:log_config] if args.key?(:log_config)
@name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network)
@private_ip_google_access = args[:private_ip_google_access] if args.key?(:private_ip_google_access)
@ -23581,6 +23625,55 @@ module Google
end
end
# The available logging options for this subnetwork.
class SubnetworkLogConfig
include Google::Apis::Core::Hashable
# Can only be specified if VPC flow logging for this subnetwork is enabled.
# Toggles the aggregation interval for collecting flow logs. Increasing the
# interval time will reduce the amount of generated flow logs for long lasting
# connections. Default is an interval of 5 seconds per connection.
# Corresponds to the JSON property `aggregationInterval`
# @return [String]
attr_accessor :aggregation_interval
# Whether to enable flow logging for this subnetwork. If this field is not
# explicitly set, it will not appear in get listings. If not set the default
# behavior is to disable flow logging.
# Corresponds to the JSON property `enable`
# @return [Boolean]
attr_accessor :enable
alias_method :enable?, :enable
# Can only be specified if VPC flow logging for this subnetwork is enabled. The
# value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs
# within the subnetwork where 1.0 means all collected logs are reported and 0.0
# means no logs are reported. Default is 0.5 which means half of all collected
# logs are reported.
# Corresponds to the JSON property `flowSampling`
# @return [Float]
attr_accessor :flow_sampling
# Can only be specified if VPC flow logging for this subnetwork is enabled.
# Configures whether metadata fields should be added to the reported VPC flow
# logs. Default is INCLUDE_ALL_METADATA.
# Corresponds to the JSON property `metadata`
# @return [String]
attr_accessor :metadata
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@aggregation_interval = args[:aggregation_interval] if args.key?(:aggregation_interval)
@enable = args[:enable] if args.key?(:enable)
@flow_sampling = args[:flow_sampling] if args.key?(:flow_sampling)
@metadata = args[:metadata] if args.key?(:metadata)
end
end
# Represents a secondary IP range of a subnetwork.
class SubnetworkSecondaryRange
include Google::Apis::Core::Hashable
@ -25786,7 +25879,7 @@ module Google
attr_accessor :description
# [Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules
# are created using compute.forwardingRules.insert and associated to a VPN
# are created using compute.forwardingRules.insert and associated with a VPN
# gateway.
# Corresponds to the JSON property `forwardingRules`
# @return [Array<String>]
@ -25852,13 +25945,14 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] The status of the VPN gateway.
# [Output Only] The status of the VPN gateway, which can be one of the following:
# CREATING, READY, FAILED, or DELETING.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
# [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created
# using compute.vpntunnels.insert method and associated to a VPN gateway.
# using the compute.vpntunnels.insert method and associated with a VPN gateway.
# Corresponds to the JSON property `tunnels`
# @return [Array<String>]
attr_accessor :tunnels
@ -26125,7 +26219,7 @@ module Google
class TargetVpnGatewaysScopedList
include Google::Apis::Core::Hashable
# [Output Only] A list of target vpn gateways contained in this scope.
# [Output Only] A list of target VPN gateways contained in this scope.
# Corresponds to the JSON property `targetVpnGateways`
# @return [Array<Google::Apis::ComputeBeta::TargetVpnGateway>]
attr_accessor :target_vpn_gateways
@ -27521,8 +27615,8 @@ module Google
# @return [Fixnum]
attr_accessor :id
# IKE protocol version to use when establishing the VPN tunnel with peer VPN
# gateway. Acceptable IKE versions are 1 or 2. Default version is 2.
# IKE protocol version to use when establishing the VPN tunnel with the peer VPN
# gateway. Acceptable IKE versions are 1 or 2. The default version is 2.
# Corresponds to the JSON property `ikeVersion`
# @return [Fixnum]
attr_accessor :ike_version
@ -27551,9 +27645,9 @@ module Google
# @return [Hash<String,String>]
attr_accessor :labels
# Local traffic selector to use when establishing the VPN tunnel with peer VPN
# gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/
# 16. The ranges should be disjoint. Only IPv4 is supported.
# Local traffic selector to use when establishing the VPN tunnel with the peer
# VPN gateway. The value should be a CIDR formatted string, for example: 192.168.
# 0.0/16. The ranges must be disjoint. Only IPv4 is supported.
# Corresponds to the JSON property `localTrafficSelector`
# @return [Array<String>]
attr_accessor :local_traffic_selector
@ -27603,14 +27697,14 @@ module Google
# @return [String]
attr_accessor :region
# Remote traffic selectors to use when establishing the VPN tunnel with peer VPN
# gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/
# 16. The ranges should be disjoint. Only IPv4 is supported.
# Remote traffic selectors to use when establishing the VPN tunnel with the peer
# VPN gateway. The value should be a CIDR formatted string, for example: 192.168.
# 0.0/16. The ranges should be disjoint. Only IPv4 is supported.
# Corresponds to the JSON property `remoteTrafficSelector`
# @return [Array<String>]
attr_accessor :remote_traffic_selector
# URL of router resource to be used for dynamic routing.
# URL of the router resource to be used for dynamic routing.
# Corresponds to the JSON property `router`
# @return [String]
attr_accessor :router
@ -27631,7 +27725,18 @@ module Google
# @return [String]
attr_accessor :shared_secret_hash
# [Output Only] The status of the VPN tunnel.
# [Output Only] The status of the VPN tunnel, which can be one of the following:
# - PROVISIONING: Resource is being allocated for the VPN tunnel.
# - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the
# user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route
# resources are needed to setup the VPN tunnel.
# - FIRST_HANDSHAKE: Successful first handshake with the peer VPN.
# - ESTABLISHED: Secure session is successfully established with the peer VPN.
# - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS
# - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret).
# - NEGOTIATION_FAILURE: Handshake failed.
# - DEPROVISIONING: Resources are being deallocated for the VPN tunnel.
# - FAILED: Tunnel creation has failed and the tunnel is not ready to be used.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
@ -27925,7 +28030,7 @@ module Google
class VpnTunnelsScopedList
include Google::Apis::Core::Hashable
# A list of vpn tunnels contained in this scope.
# A list of VPN tunnels contained in this scope.
# Corresponds to the JSON property `vpnTunnels`
# @return [Array<Google::Apis::ComputeBeta::VpnTunnel>]
attr_accessor :vpn_tunnels

View File

@ -1258,6 +1258,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagerStatusVersionTarget
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagerUpdatePolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3250,6 +3256,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SubnetworkLogConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SubnetworkSecondaryRange
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -4245,6 +4257,7 @@ module Google
class Allocation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :commitment, as: 'commitment'
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :id, :numeric_string => true, as: 'id'
@ -6374,6 +6387,15 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :is_stable, as: 'isStable'
property :version_target, as: 'versionTarget', class: Google::Apis::ComputeBeta::InstanceGroupManagerStatusVersionTarget, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStatusVersionTarget::Representation
end
end
class InstanceGroupManagerStatusVersionTarget
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :is_reached, as: 'isReached'
end
end
@ -9835,6 +9857,8 @@ module Google
property :id, :numeric_string => true, as: 'id'
property :ip_cidr_range, as: 'ipCidrRange'
property :kind, as: 'kind'
property :log_config, as: 'logConfig', class: Google::Apis::ComputeBeta::SubnetworkLogConfig, decorator: Google::Apis::ComputeBeta::SubnetworkLogConfig::Representation
property :name, as: 'name'
property :network, as: 'network'
property :private_ip_google_access, as: 'privateIpGoogleAccess'
@ -9909,6 +9933,16 @@ module Google
end
end
class SubnetworkLogConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :aggregation_interval, as: 'aggregationInterval'
property :enable, as: 'enable'
property :flow_sampling, as: 'flowSampling'
property :metadata, as: 'metadata'
end
end
class SubnetworkSecondaryRange
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeV1
VERSION = 'V1'
REVISION = '20190211'
REVISION = '20190221'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2292,6 +2292,11 @@ module Google
# @return [String]
attr_accessor :creation_timestamp
# Headers that the HTTP/S load balancer should add to proxied requests.
# Corresponds to the JSON property `customRequestHeaders`
# @return [Array<String>]
attr_accessor :custom_request_headers
# An optional description of this resource. Provide this property when you
# create the resource.
# Corresponds to the JSON property `description`
@ -2431,6 +2436,7 @@ module Google
@cdn_policy = args[:cdn_policy] if args.key?(:cdn_policy)
@connection_draining = args[:connection_draining] if args.key?(:connection_draining)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@custom_request_headers = args[:custom_request_headers] if args.key?(:custom_request_headers)
@description = args[:description] if args.key?(:description)
@enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@ -2903,8 +2909,8 @@ module Google
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group. For
# example, `admins@example.com`.
# * `domain:`domain``: A Google Apps domain name that represents all the users
# of that domain. For example, `google.com` or `example.com`.
# * `domain:`domain``: The G Suite domain (primary) that represents all the
# users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members`
# @return [Array<String>]
attr_accessor :members
@ -3603,11 +3609,12 @@ module Google
# @return [String]
attr_accessor :replacement
# The deprecation state of this resource. This can be DEPRECATED, OBSOLETE, or
# DELETED. Operations which create a new resource using a DEPRECATED resource
# will return successfully, but with a warning indicating the deprecated
# resource and recommending its replacement. Operations which use OBSOLETE or
# DELETED resources will be rejected and result in an error.
# The deprecation state of this resource. This can be ACTIVE DEPRECATED,
# OBSOLETE, or DELETED. Operations which communicate the end of life date for an
# image, can use ACTIVE. Operations which create a new resource using a
# DEPRECATED resource will return successfully, but with a warning indicating
# the deprecated resource and recommending its replacement. Operations which use
# OBSOLETE or DELETED resources will be rejected and result in an error.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
@ -5904,6 +5911,62 @@ module Google
end
end
#
class Http2HealthCheck
include Google::Apis::Core::Hashable
# The value of the host header in the HTTP/2 health check request. If left empty
# (default value), the IP on behalf of which this health check is performed will
# be used.
# Corresponds to the JSON property `host`
# @return [String]
attr_accessor :host
# The TCP port number for the health check request. The default value is 443.
# Valid values are 1 through 65535.
# Corresponds to the JSON property `port`
# @return [Fixnum]
attr_accessor :port
# Port name as defined in InstanceGroup#NamedPort#name. If both port and
# port_name are defined, port takes precedence.
# Corresponds to the JSON property `portName`
# @return [String]
attr_accessor :port_name
# Specifies the type of proxy header to append before sending data to the
# backend, either NONE or PROXY_V1. The default is NONE.
# Corresponds to the JSON property `proxyHeader`
# @return [String]
attr_accessor :proxy_header
# The request path of the HTTP/2 health check request. The default value is /.
# Corresponds to the JSON property `requestPath`
# @return [String]
attr_accessor :request_path
# The string to match anywhere in the first 1024 bytes of the response body. If
# left empty (the default value), the status code determines health. The
# response data can only be ASCII.
# Corresponds to the JSON property `response`
# @return [String]
attr_accessor :response
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@host = args[:host] if args.key?(:host)
@port = args[:port] if args.key?(:port)
@port_name = args[:port_name] if args.key?(:port_name)
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
@request_path = args[:request_path] if args.key?(:request_path)
@response = args[:response] if args.key?(:response)
end
end
#
class HttpHealthCheck
include Google::Apis::Core::Hashable
@ -6044,6 +6107,11 @@ module Google
# @return [Fixnum]
attr_accessor :healthy_threshold
#
# Corresponds to the JSON property `http2HealthCheck`
# @return [Google::Apis::ComputeV1::Http2HealthCheck]
attr_accessor :http2_health_check
#
# Corresponds to the JSON property `httpHealthCheck`
# @return [Google::Apis::ComputeV1::HttpHealthCheck]
@ -6120,6 +6188,7 @@ module Google
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
@http2_health_check = args[:http2_health_check] if args.key?(:http2_health_check)
@http_health_check = args[:http_health_check] if args.key?(:http_health_check)
@https_health_check = args[:https_health_check] if args.key?(:https_health_check)
@id = args[:id] if args.key?(:id)
@ -17766,7 +17835,7 @@ module Google
end
end
# Status of a NAT contained in this router.
# Status of a NAT contained in this router. Next tag: 9
class RouterStatusNatStatus
include Google::Apis::Core::Hashable
@ -21930,7 +21999,7 @@ module Google
attr_accessor :description
# [Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules
# are created using compute.forwardingRules.insert and associated to a VPN
# are created using compute.forwardingRules.insert and associated with a VPN
# gateway.
# Corresponds to the JSON property `forwardingRules`
# @return [Array<String>]
@ -21976,13 +22045,14 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] The status of the VPN gateway.
# [Output Only] The status of the VPN gateway, which can be one of the following:
# CREATING, READY, FAILED, or DELETING.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
# [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created
# using compute.vpntunnels.insert method and associated to a VPN gateway.
# using the compute.vpntunnels.insert method and associated with a VPN gateway.
# Corresponds to the JSON property `tunnels`
# @return [Array<String>]
attr_accessor :tunnels
@ -22247,7 +22317,7 @@ module Google
class TargetVpnGatewaysScopedList
include Google::Apis::Core::Hashable
# [Output Only] A list of target vpn gateways contained in this scope.
# [Output Only] A list of target VPN gateways contained in this scope.
# Corresponds to the JSON property `targetVpnGateways`
# @return [Array<Google::Apis::ComputeV1::TargetVpnGateway>]
attr_accessor :target_vpn_gateways
@ -23197,8 +23267,8 @@ module Google
# @return [Fixnum]
attr_accessor :id
# IKE protocol version to use when establishing the VPN tunnel with peer VPN
# gateway. Acceptable IKE versions are 1 or 2. Default version is 2.
# IKE protocol version to use when establishing the VPN tunnel with the peer VPN
# gateway. Acceptable IKE versions are 1 or 2. The default version is 2.
# Corresponds to the JSON property `ikeVersion`
# @return [Fixnum]
attr_accessor :ike_version
@ -23208,9 +23278,9 @@ module Google
# @return [String]
attr_accessor :kind
# Local traffic selector to use when establishing the VPN tunnel with peer VPN
# gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/
# 16. The ranges should be disjoint. Only IPv4 is supported.
# Local traffic selector to use when establishing the VPN tunnel with the peer
# VPN gateway. The value should be a CIDR formatted string, for example: 192.168.
# 0.0/16. The ranges must be disjoint. Only IPv4 is supported.
# Corresponds to the JSON property `localTrafficSelector`
# @return [Array<String>]
attr_accessor :local_traffic_selector
@ -23237,14 +23307,14 @@ module Google
# @return [String]
attr_accessor :region
# Remote traffic selectors to use when establishing the VPN tunnel with peer VPN
# gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/
# 16. The ranges should be disjoint. Only IPv4 is supported.
# Remote traffic selectors to use when establishing the VPN tunnel with the peer
# VPN gateway. The value should be a CIDR formatted string, for example: 192.168.
# 0.0/16. The ranges should be disjoint. Only IPv4 is supported.
# Corresponds to the JSON property `remoteTrafficSelector`
# @return [Array<String>]
attr_accessor :remote_traffic_selector
# URL of router resource to be used for dynamic routing.
# URL of the router resource to be used for dynamic routing.
# Corresponds to the JSON property `router`
# @return [String]
attr_accessor :router
@ -23265,7 +23335,18 @@ module Google
# @return [String]
attr_accessor :shared_secret_hash
# [Output Only] The status of the VPN tunnel.
# [Output Only] The status of the VPN tunnel, which can be one of the following:
# - PROVISIONING: Resource is being allocated for the VPN tunnel.
# - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the
# user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route
# resources are needed to setup the VPN tunnel.
# - FIRST_HANDSHAKE: Successful first handshake with the peer VPN.
# - ESTABLISHED: Secure session is successfully established with the peer VPN.
# - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS
# - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret).
# - NEGOTIATION_FAILURE: Handshake failed.
# - DEPROVISIONING: Resources are being deallocated for the VPN tunnel.
# - FAILED: Tunnel creation has failed and the tunnel is not ready to be used.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
@ -23540,7 +23621,7 @@ module Google
class VpnTunnelsScopedList
include Google::Apis::Core::Hashable
# A list of vpn tunnels contained in this scope.
# A list of VPN tunnels contained in this scope.
# Corresponds to the JSON property `vpnTunnels`
# @return [Array<Google::Apis::ComputeV1::VpnTunnel>]
attr_accessor :vpn_tunnels

View File

@ -784,6 +784,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Http2HealthCheck
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HttpHealthCheck
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3893,6 +3899,7 @@ module Google
property :connection_draining, as: 'connectionDraining', class: Google::Apis::ComputeV1::ConnectionDraining, decorator: Google::Apis::ComputeV1::ConnectionDraining::Representation
property :creation_timestamp, as: 'creationTimestamp'
collection :custom_request_headers, as: 'customRequestHeaders'
property :description, as: 'description'
property :enable_cdn, as: 'enableCDN'
property :fingerprint, :base64 => true, as: 'fingerprint'
@ -4751,6 +4758,18 @@ module Google
end
end
class Http2HealthCheck
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :host, as: 'host'
property :port, as: 'port'
property :port_name, as: 'portName'
property :proxy_header, as: 'proxyHeader'
property :request_path, as: 'requestPath'
property :response, as: 'response'
end
end
class HttpHealthCheck
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -4782,6 +4801,8 @@ module Google
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :healthy_threshold, as: 'healthyThreshold'
property :http2_health_check, as: 'http2HealthCheck', class: Google::Apis::ComputeV1::Http2HealthCheck, decorator: Google::Apis::ComputeV1::Http2HealthCheck::Representation
property :http_health_check, as: 'httpHealthCheck', class: Google::Apis::ComputeV1::HttpHealthCheck, decorator: Google::Apis::ComputeV1::HttpHealthCheck::Representation
property :https_health_check, as: 'httpsHealthCheck', class: Google::Apis::ComputeV1::HttpsHealthCheck, decorator: Google::Apis::ComputeV1::HttpsHealthCheck::Representation

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/
module DlpV2
VERSION = 'V2'
REVISION = '20190226'
REVISION = '20190305'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1218,6 +1218,7 @@ module Google
include Google::Apis::Core::Hashable
# Include to use an existing data crypto key wrapped by KMS.
# The wrapped key must be a 128/192/256 bit key.
# Authorization requires the following IAM permissions when sending a request
# to perform a crypto transformation using a kms-wrapped crypto key:
# dlp.kms.encrypt
@ -1249,16 +1250,9 @@ module Google
end
end
# Replaces an identifier with a surrogate using FPE with the FFX
# mode of operation; however when used in the `ReidentifyContent` API method,
# it serves the opposite function by reversing the surrogate back into
# the original identifier.
# The identifier must be encoded as ASCII.
# For a given crypto key and context, the same identifier will be
# replaced with the same surrogate.
# Identifiers must be at least two characters long.
# In the case that the identifier is the empty string, it will be skipped.
# See https://cloud.google.com/dlp/docs/pseudonymization to learn more.
# Note: We recommend using CryptoDeterministicConfig for all use cases which
# do not require preserving the input alphabet space and size, plus warrant
# referential integrity.
class GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig
include Google::Apis::Core::Hashable
@ -3509,6 +3503,7 @@ module Google
end
# Include to use an existing data crypto key wrapped by KMS.
# The wrapped key must be a 128/192/256 bit key.
# Authorization requires the following IAM permissions when sending a request
# to perform a crypto transformation using a kms-wrapped crypto key:
# dlp.kms.encrypt
@ -4123,16 +4118,9 @@ module Google
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoHashConfig]
attr_accessor :crypto_hash_config
# Replaces an identifier with a surrogate using FPE with the FFX
# mode of operation; however when used in the `ReidentifyContent` API method,
# it serves the opposite function by reversing the surrogate back into
# the original identifier.
# The identifier must be encoded as ASCII.
# For a given crypto key and context, the same identifier will be
# replaced with the same surrogate.
# Identifiers must be at least two characters long.
# In the case that the identifier is the empty string, it will be skipped.
# See https://cloud.google.com/dlp/docs/pseudonymization to learn more.
# Note: We recommend using CryptoDeterministicConfig for all use cases which
# do not require preserving the input alphabet space and size, plus warrant
# referential integrity.
# Corresponds to the JSON property `cryptoReplaceFfxFpeConfig`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig]
attr_accessor :crypto_replace_ffx_fpe_config
@ -5484,7 +5472,7 @@ module Google
end
end
# Summary of a single tranformation.
# Summary of a single transformation.
# Only one of 'transformation', 'field_transformation', or 'record_suppress'
# will be set.
class GooglePrivacyDlpV2TransformationSummary
@ -5593,7 +5581,7 @@ module Google
class GooglePrivacyDlpV2UnwrappedCryptoKey
include Google::Apis::Core::Hashable
# The AES 128/192/256 bit key. [required]
# A 128/192/256 bit key. [required]
# Corresponds to the JSON property `key`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/iam/
module IamV1
VERSION = 'V1'
REVISION = '20190222'
REVISION = '20190301'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -367,6 +367,19 @@ module Google
end
end
# The service account disable request.
class DisableServiceAccountRequest
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance:
@ -386,6 +399,19 @@ module Google
end
end
# The service account enable request.
class EnableServiceAccountRequest
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# Represents an expression text. Example:
# title: "User account presence"
# description: "Determines whether the request has a user account"
@ -1107,6 +1133,7 @@ module Google
include Google::Apis::Core::Hashable
# @OutputOnly A bool indicate if the service account is disabled.
# The field is currently in alpha phase.
# Corresponds to the JSON property `disabled`
# @return [Boolean]
attr_accessor :disabled

View File

@ -76,12 +76,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DisableServiceAccountRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class EnableServiceAccountRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Expr
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -335,12 +347,24 @@ module Google
end
end
class DisableServiceAccountRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class EnableServiceAccountRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Expr
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -691,6 +691,81 @@ module Google
execute_or_queue_command(command, &block)
end
# Disables a ServiceAccount.
# The API is currently in alpha phase.
# @param [String] name
# The resource name of the service account in the following format:
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
# Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
# the account. The `ACCOUNT` value can be the `email` address or the
# `unique_id` of the service account.
# @param [Google::Apis::IamV1::DisableServiceAccountRequest] disable_service_account_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::IamV1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::IamV1::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def disable_service_account(name, disable_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:disable', options)
command.request_representation = Google::Apis::IamV1::DisableServiceAccountRequest::Representation
command.request_object = disable_service_account_request_object
command.response_representation = Google::Apis::IamV1::Empty::Representation
command.response_class = Google::Apis::IamV1::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Enables a ServiceAccount.
# The API is currently in alpha phase.
# @param [String] name
# The resource name of the service account in the following format:
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT_UNIQUE_ID`'.
# Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
# the account.
# @param [Google::Apis::IamV1::EnableServiceAccountRequest] enable_service_account_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::IamV1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::IamV1::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def enable_service_account(name, enable_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:enable', options)
command.request_representation = Google::Apis::IamV1::EnableServiceAccountRequest::Representation
command.request_object = enable_service_account_request_object
command.response_representation = Google::Apis::IamV1::Empty::Representation
command.response_class = Google::Apis::IamV1::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets a ServiceAccount.
# @param [String] name
# The resource name of the service account in the following format:
@ -980,6 +1055,8 @@ module Google
end
# Restores a deleted ServiceAccount.
# This is to be used as an action of last resort. A service account may
# not always be restorable.
# @param [String] name
# The resource name of the service account in the following format:
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT_UNIQUE_ID`'.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/ml/
module MlV1
VERSION = 'V1'
REVISION = '20190226'
REVISION = '20190306'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -412,7 +412,7 @@ module Google
end
end
# Represents a training or prediction job.
# Represents a training, prediction or explanation job.
class GoogleCloudMlV1Job
include Google::Apis::Core::Hashable
@ -678,7 +678,7 @@ module Google
# information about all of the versions of a given model by calling
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
# versions/list).
# Next ID: 29
# Next ID: 30
# Corresponds to the JSON property `defaultVersion`
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
attr_accessor :default_version
@ -805,7 +805,7 @@ module Google
# information about all of the versions of a given model by calling
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
# versions/list).
# Next ID: 29
# Next ID: 30
# Corresponds to the JSON property `version`
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
attr_accessor :version
@ -959,7 +959,8 @@ module Google
attr_accessor :data_format
# Required. The Google Cloud Storage location of the input data files.
# May contain wildcards.
# May contain wildcards. See <a href="https://cloud.google.com/storage/docs/
# gsutil/addlhelp/WildcardNames</a>
# Corresponds to the JSON property `inputPaths`
# @return [Array<String>]
attr_accessor :input_paths
@ -1445,7 +1446,7 @@ module Google
# information about all of the versions of a given model by calling
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
# versions/list).
# Next ID: 29
# Next ID: 30
class GoogleCloudMlV1Version
include Google::Apis::Core::Hashable

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/
module MonitoringV3
VERSION = 'V3'
REVISION = '20190204'
REVISION = '20190304'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1167,7 +1167,8 @@ module Google
# The path to the page to run the check against. Will be combined with the host (
# specified within the MonitoredResource) and port to construct the full URL.
# Optional (defaults to "/").
# Optional (defaults to "/"). If the provided path does not begin with "/", it
# will be prepended automatically.
# Corresponds to the JSON property `path`
# @return [String]
attr_accessor :path

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/beacons/proximity/
module ProximitybeaconV1beta1
VERSION = 'V1beta1'
REVISION = '20181008'
REVISION = '20190304'
# View and modify your beacons
AUTH_USERLOCATION_BEACON_REGISTRY = 'https://www.googleapis.com/auth/userlocation.beacon.registry'

View File

@ -144,8 +144,9 @@ module Google
# depends on how securely the parties involved (in particular the
# bluetooth client) handle the identity key, and obviously on how
# securely the identity key was generated.
# See [the Eddystone specification](https://github.com/google/eddystone/tree/
# master/eddystone-eid) at GitHub.
# See [the Eddystone
# specification](https://github.com/google/eddystone/tree/master/eddystone-eid)
# at GitHub.
# Corresponds to the JSON property `ephemeralIdRegistration`
# @return [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration]
attr_accessor :ephemeral_id_registration
@ -461,8 +462,9 @@ module Google
# depends on how securely the parties involved (in particular the
# bluetooth client) handle the identity key, and obviously on how
# securely the identity key was generated.
# See [the Eddystone specification](https://github.com/google/eddystone/tree/
# master/eddystone-eid) at GitHub.
# See [the Eddystone
# specification](https://github.com/google/eddystone/tree/master/eddystone-eid)
# at GitHub.
class EphemeralIdRegistration
include Google::Apis::Core::Hashable
@ -503,8 +505,8 @@ module Google
# Indicates the nominal period between each rotation of the beacon's
# ephemeral ID. "Nominal" because the beacon should randomize the
# actual interval. See [the spec at github](https://github.com/google/eddystone/
# tree/master/eddystone-eid)
# actual interval. See [the spec at
# github](https://github.com/google/eddystone/tree/master/eddystone-eid)
# for details. This value corresponds to a power-of-two scaler on the
# beacon's clock: when the scaler value is K, the beacon will begin
# broadcasting a new ephemeral ID on average every 2^K seconds.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/service-consumer-management/docs/overview
module ServiceconsumermanagementV1
VERSION = 'V1'
REVISION = '20190305'
REVISION = '20190306'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2362,14 +2362,14 @@ module Google
attr_accessor :done
alias_method :done?, :done
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
@ -3221,14 +3221,14 @@ module Google
end
end
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1beta
VERSION = 'V1beta'
REVISION = '20190305'
REVISION = '20190306'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2336,14 +2336,14 @@ module Google
attr_accessor :done
alias_method :done?, :done
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
@ -3155,14 +3155,14 @@ module Google
end
end
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/
module ServiceusageV1
VERSION = 'V1'
REVISION = '20190305'
REVISION = '20190306'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2981,14 +2981,14 @@ module Google
attr_accessor :done
alias_method :done?, :done
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
@ -3346,14 +3346,14 @@ module Google
end
end
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/
module ServiceusageV1beta1
VERSION = 'V1beta1'
REVISION = '20190305'
REVISION = '20190306'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2957,14 +2957,14 @@ module Google
attr_accessor :done
alias_method :done?, :done
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
@ -3488,14 +3488,14 @@ module Google
end
end
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/storage-transfer/docs
module StoragetransferV1
VERSION = 'V1'
REVISION = '20190226'
REVISION = '20190306'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -443,14 +443,14 @@ module Google
attr_accessor :done
alias_method :done?, :done
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
@ -597,14 +597,14 @@ module Google
end
end
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing

View File

@ -159,9 +159,9 @@ module Google
# "job_names":["jobid1","jobid2",...],
# "job_statuses":["status1","status2",...]`.
# Since `job_names` and `job_statuses` support multiple values, their values
# must be specified with array notation. `project_id` is required. `job_names`
# and `job_statuses` are optional. The valid values for `job_statuses` are
# case-insensitive: `ENABLED`, `DISABLED`, and `DELETED`.
# must be specified with array notation. `project_id` is required.
# `job_names` and `job_statuses` are optional. The valid values for
# `job_statuses` are case-insensitive: `ENABLED`, `DISABLED`, and `DELETED`.
# @param [Fixnum] page_size
# The list page size. The max allowed value is 256.
# @param [String] page_token