Autogenerated update (2017-12-15)
Update: - adexchangebuyer2_v2beta1 - appengine_v1 - appengine_v1beta - classroom_v1 - cloudresourcemanager_v1 - cloudtrace_v2 - dialogflow_v2beta1 - speech_v1 - testing_v1
This commit is contained in:
1 parent
808ddace3e
commit
f8c52315c5
27 files changed
+1287
-52
No files matched your search
@@ -318,6 +318,14 @@ module Google
|
||||
class Constraint
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A `Constraint` that is either enforced or not.
|
||||
# For example a constraint `constraints/compute.disableSerialPortAccess`.
|
||||
# If it is enforced on a VM instance, serial port connections will not be
|
||||
# opened to that instance.
|
||||
# Corresponds to the JSON property `booleanConstraint`
|
||||
# @return [Google::Apis::CloudresourcemanagerV1::BooleanConstraint]
|
||||
attr_accessor :boolean_constraint
|
||||
|
||||
# The evaluation behavior of this constraint in the absense of 'Policy'.
|
||||
# Corresponds to the JSON property `constraintDefault`
|
||||
# @return [String]
|
||||
@@ -359,6 +367,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@boolean_constraint = args[:boolean_constraint] if args.key?(:boolean_constraint)
|
||||
@constraint_default = args[:constraint_default] if args.key?(:constraint_default)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@@ -1066,6 +1075,21 @@ module Google
|
||||
# @return [Google::Apis::CloudresourcemanagerV1::ListPolicy]
|
||||
attr_accessor :list_policy
|
||||
|
||||
# Ignores policies set above this resource and restores the
|
||||
# `constraint_default` enforcement behavior of the specific `Constraint` at
|
||||
# this resource.
|
||||
# Suppose that `constraint_default` is set to `ALLOW` for the
|
||||
# `Constraint` `constraints/serviceuser.services`. Suppose that organization
|
||||
# foo.com sets a `Policy` at their Organization resource node that restricts
|
||||
# the allowed service activations to deny all service activations. They
|
||||
# could then set a `Policy` with the `policy_type` `restore_default` on
|
||||
# several experimental projects, restoring the `constraint_default`
|
||||
# enforcement of the `Constraint` for only those projects, allowing those
|
||||
# projects to have all services activated.
|
||||
# Corresponds to the JSON property `restoreDefault`
|
||||
# @return [Google::Apis::CloudresourcemanagerV1::RestoreDefault]
|
||||
attr_accessor :restore_default
|
||||
|
||||
# The time stamp the `Policy` was previously updated. This is set by the
|
||||
# server, not specified by the caller, and represents the last time a call to
|
||||
# `SetOrgPolicy` was made for that `Policy`. Any value set by the client will
|
||||
@@ -1089,6 +1113,7 @@ module Google
|
||||
@constraint = args[:constraint] if args.key?(:constraint)
|
||||
@etag = args[:etag] if args.key?(:etag)
|
||||
@list_policy = args[:list_policy] if args.key?(:list_policy)
|
||||
@restore_default = args[:restore_default] if args.key?(:restore_default)
|
||||
@update_time = args[:update_time] if args.key?(:update_time)
|
||||
@version = args[:version] if args.key?(:version)
|
||||
end
|
||||
|
||||
@@ -331,6 +331,8 @@ module Google
|
||||
class Constraint
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :boolean_constraint, as: 'booleanConstraint', class: Google::Apis::CloudresourcemanagerV1::BooleanConstraint, decorator: Google::Apis::CloudresourcemanagerV1::BooleanConstraint::Representation
|
||||
|
||||
property :constraint_default, as: 'constraintDefault'
|
||||
property :description, as: 'description'
|
||||
property :display_name, as: 'displayName'
|
||||
@@ -501,6 +503,8 @@ module Google
|
||||
property :etag, :base64 => true, as: 'etag'
|
||||
property :list_policy, as: 'listPolicy', class: Google::Apis::CloudresourcemanagerV1::ListPolicy, decorator: Google::Apis::CloudresourcemanagerV1::ListPolicy::Representation
|
||||
|
||||
property :restore_default, as: 'restoreDefault', class: Google::Apis::CloudresourcemanagerV1::RestoreDefault, decorator: Google::Apis::CloudresourcemanagerV1::RestoreDefault::Representation
|
||||
|
||||
property :update_time, as: 'updateTime'
|
||||
property :version, as: 'version'
|
||||
end
|
||||
|
||||
@@ -1080,7 +1080,11 @@ module Google
|
||||
|
||||
# Lists Projects that are visible to the user and satisfy the
|
||||
# specified filter. This method returns Projects in an unspecified order.
|
||||
# New Projects do not necessarily appear at the end of the list.
|
||||
# This method is eventually consistent with project mutations; this means
|
||||
# that a newly created project may not appear in the results or recent
|
||||
# updates to an existing project may not be reflected in the results. To
|
||||
# retrieve the latest state of a project, use the
|
||||
# GetProject method.
|
||||
# @param [String] filter
|
||||
# An expression for filtering the results of the request. Filter rules are
|
||||
# case insensitive. The fields eligible for filtering are:
|
||||
@@ -1211,7 +1215,7 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the IAM access control policy for the specified Project. Replaces
|
||||
# Sets the IAM access control policy for the specified Project. Overwrites
|
||||
# any existing policy.
|
||||
# The following constraints apply when using `setIamPolicy()`:
|
||||
# + Project does not support `allUsers` and `allAuthenticatedUsers` as
|
||||
@@ -1235,7 +1239,8 @@ module Google
|
||||
# projects that no longer have owners who have accepted the ToS. Edits to
|
||||
# IAM policies will be rejected until the lack of a ToS-accepting owner is
|
||||
# rectified.
|
||||
# + Calling this method requires enabling the App Engine Admin API.
|
||||
# + This method will replace the existing policy, and cannot be used to
|
||||
# append additional IAM settings.
|
||||
# Note: Removing service accounts from policies or changing their roles
|
||||
# can render services completely inoperable. It is important to understand
|
||||
# how the service account is being used before removing or updating its
|
||||
|
||||
Reference in new issue
Block a user