Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb

Overview

Request for BatchComputeSecurityAssessmentResults.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest

Returns a new instance of GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest.



2049
2050
2051
# File 'lib/google/apis/apigee_v1/classes.rb', line 2049

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#includeGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray

An array of resource messages. Corresponds to the JSON property include



2018
2019
2020
# File 'lib/google/apis/apigee_v1/classes.rb', line 2018

def include
  @include
end

#include_all_resourcesGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll

Message for include_all option. Corresponds to the JSON property includeAllResources



2023
2024
2025
# File 'lib/google/apis/apigee_v1/classes.rb', line 2023

def include_all_resources
  @include_all_resources
end

#page_sizeFixnum

Optional. The maximum number of results to return. The service may return fewer than this value. If unspecified, at most 50 results will be returned. Corresponds to the JSON property pageSize

Returns:

  • (Fixnum)


2029
2030
2031
# File 'lib/google/apis/apigee_v1/classes.rb', line 2029

def page_size
  @page_size
end

#page_tokenString

Optional. A page token, received from a previous BatchComputeSecurityAssessmentResults call. Provide this to retrieve the subsequent page. Corresponds to the JSON property pageToken

Returns:

  • (String)


2036
2037
2038
# File 'lib/google/apis/apigee_v1/classes.rb', line 2036

def page_token
  @page_token
end

#profileString

Required. Name of the profile that is used for computation. Corresponds to the JSON property profile

Returns:

  • (String)


2041
2042
2043
# File 'lib/google/apis/apigee_v1/classes.rb', line 2041

def profile
  @profile
end

#scopeString

Required. Scope of the resources for the computation. For Apigee, the environment is the scope of the resources. Corresponds to the JSON property scope

Returns:

  • (String)


2047
2048
2049
# File 'lib/google/apis/apigee_v1/classes.rb', line 2047

def scope
  @scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2054
2055
2056
2057
2058
2059
2060
2061
# File 'lib/google/apis/apigee_v1/classes.rb', line 2054

def update!(**args)
  @include = args[:include] if args.key?(:include)
  @include_all_resources = args[:include_all_resources] if args.key?(:include_all_resources)
  @page_size = args[:page_size] if args.key?(:page_size)
  @page_token = args[:page_token] if args.key?(:page_token)
  @profile = args[:profile] if args.key?(:profile)
  @scope = args[:scope] if args.key?(:scope)
end